RCN's internet service blocks incoming traffic on port 80. This prevents you from running a webserver on your home network that is accessible from the internet, unless you feel like telling everyone to tack additional characters onto the URL. This article describes how to use a reverse proxy to serve traffic on port 80.

Steps

  1. 1
    Set up your home web server on a port other than port 80. You can use Apache, nginx, etc. Verify that you can reach the server within your network by using another device to access it. For example, if you set up a server on a machine with IP address 192.168.1.101, using port 82, go to http://192.168.1.101:82 in the web browser of another device on your network.
  2. For example, if you set up a server on a machine with IP address 192.168.1.101, using port 82, you'd forward port 82 to IP address 192.168.1.101.
    Advertisement
  3. http://www.whatismyip.com/
  4. 4
    Verify that your server is reachable outside the network by accessing the external IP address with the port you chose. For example, if your external IP address is 123.45.67.890 and you are using port 82, go to http://123.45.67.890:82 in the web browser of a device not on my network.
  5. One option is  https://github.com/yukinoraru/heroku-http-reverse-proxy deployed on Heroku. Be sure to change the configuration to point to your IP address and port! For example, if your external IP address was 123.45.67.890 and you are using port 82, you would replace "YOUR SITE" in config.ru with "http://123.45.67.890:82"
  6. Now you should be able to access your internal webserver on port 80 by accessing the URL of the reverse proxy server.
    Advertisement

Expert Q&A

Ask a Question

      Advertisement

      Tips

      Show More Tips
      Advertisement

      About this article

      Thanks to all authors for creating a page that has been read 23,301 times.

      Is this article up to date?

      Advertisement