Search code examples
localhostportwampportforwarding

Access localhost from the internet


I need to forward my localhost for a short period of time for testing purposes. It has to be accessed from the public internet.

How can I achieve this?


Solution

  • You go into your router configuration and forward port 80 to the LAN IP of the computer running the web server.

    Then anyone outside your network (but not you inside the network) can access your site using your WAN IP address (whatismyipcom).