How can I put my WAMP online for someone to access?

93,691

Solution 1

This works very easily for me on WinXP.

  • Fire up the command prompt and enter ipconfig /all - get your local IP address
  • Log into your router and set up port forwarding to forward HTTP to your local IP address
  • Click on your WAMP icon and click again on "Put Online"
  • Go to your remote IP (you can find it somewhere like http://www.whatsmyip.org/)

Solution 2

Another 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.

Solution 3

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!

Solution 4

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

Share:
93,691
Haroldo
Author by

Haroldo

Updated on August 05, 2022

Comments

  • Haroldo
    Haroldo almost 2 years

    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 security issues with this but I only want to open up my computer for a few minutes.

    What do I need to setup on the following interfaces to do this?

    1. my wireless router
    2. windows7
    3. WAMP
  • Haroldo
    Haroldo over 13 years
    in windows7, to get local ip. go Win->cmd->ipcib->"ipconfig /all". it's the IPv4 Address...
  • iND
    iND almost 12 years
    On Windows 7, you may also have to check the firewall. WAMP installs a number of firewall rules. These relate to the various configurations of the profiles (public, private, domain) as well as protocol type (UDP, TCP). You may have to edit the "block" rules to allow access to your HTTP port.
  • Simone
    Simone over 9 years
    There is a guide I wrote for Windows in general, you may want to check it out: simonewebdesign.it/blog/how-to-put-online-your-wampserver
  • pakalbekim
    pakalbekim over 5 years
    Another great, free, 1 command line solution for tunneling - ngrok.io
  • Shanteshwar Inde
    Shanteshwar Inde over 5 years
    need more explanation, read how to answer stackoverflow.com/help/how-to-answer
  • Nico Haase
    Nico Haase over 5 years
    Why should changing the port of the webserver solve the problem? Why not forward the existing port 80?