Forum Moderators: phranque
Just spent a bit of time setting up apache2, sql and php on my windows XP box so i can develop a database driven site locally using apache as a virtual host.
I'm looking for a way to connect to my development site remotely from a collegues computer via his browser... is this possible?
So far i have tried connecting in this format:
[ip.ip.ip.ip:port...]
in an attempt to access the site it seemed logical to me at the time and was expecting to see a password gateway appear to no avail, but i think i'm out of my depth when it comes down to things genarally apache!
any help is greatly appreciated, many thanks in return
sean
Welcome to WebmasterWorld!
You'll need to configure your network to do this, and this presupposes that your ISP will allow it (some don't -- read their TOS carefully).
You need to find your 'public' IP address -- the address of your 'modem' on the internet, and note that address to be used to request your pages.
Then you need to configure your firewall/router to 'port forward' requests amde to that public IP address to the IP address of your server on your LAN.
If you don't have a firewall/router, then stop here and go buy one. The average time from putting a server online until the first exploit attempt is now about 17 seconds...
Jim
thanks for your reply, as for my isp its bulldog and they serve me a dynamic ip or static so long as i dont reboot my router, the ip i used in the address was the one displayed at the top of this page and the port i used was the one that apache is using by default which i have forwarded in my virtual server settings on my router. Is my url format in my original post the correct format? or am i getting the whole ip thing mixed up?
kind regards
sean
[192.168.0.1:80...]
should work, if you substitute your own IP and port number, and the correct page-path.
Details: What response did you get when you tested, and how did tht response differ from what you expected?
Jim
by the way thanks for your help
sean