I would like to briefly open up my computer and allow my business partener to see what I\'ve been developing on the my localhost. I understand there are probably some securi
To allow external connections to your server you have to restart WAMP in online mode.
Left-click the WAMP icon and select Put Online.
Wait for the icon status to change to white again.
Enter your IP into your web browser bar and hit enter.
If you get the same forbidden page as before hit F5 to let the browser load the newest version.
If it's still not working you probably have to enable port 80 forwarding in your router configuration.
Finally your buddy can see your homepage!
This works very easily for me on WinXP.
ipconfig /all
- get your local IP addressAnother option is simply using a tunnelling service like:
Localtunnel is open source, while the others require you to pay a small monthly fee after a trial period.
If your Apache server is up and running already on your localhost, then you should just be able to set up a route within your router to point at your computer for traffic coming IN on port 80.
EDIT: I just checked my router settings, and it calls this 'services'. It allows incoming requests on a specific port to be listened to, and forwards the request onto a specific computer (by IP) attached to the router.
You would be better asking this question on superuser.com
There are multiple factors (outside of the actual WAMP server) that will all prevent requests coming in from outside (e.g., from the internet) from reaching the running Apache server.
First, you need to make sure you have a static IP address, and preferably also a registered domain name with an "A" record (DNS) set to that IP address - for both the ServerName
and all the ServerAlias
hosts (i.e., 'www') that are used in the VirtualHost.
Otherwise, if you have a dynamic IP address, use a Dynamic DNS client to sync the changing IP address with the domain name's DNS records.
Then:
You'll need to open Windows Firewall to allow incoming port 80 (http) and port 443 (https) TCP packets.
You'll need to "port-forward" ports 80 and 443 in the Router (your WiFi box) to the LAN IP of the server.
You'll need to check if your ISP is blocking incoming port 80 (and 443) requests. If it is, you'll need to change the port this VirtualHost is listening-on\binding-to. You can make this test by using an outside proxy website and entering http://your.public.ip.address/
for the URL to visit. If the request times out, it never made it through. Afterwards, when you change the port for the VirtualHost, test again with URL http://your.public.ip.address:port/
(try port 8080).
Taken from Enabling Internet Access of Websites (for WAMP servers)