Connecting to Local Web Server when I am Outside my LAN

前端 未结 3 894
长情又很酷
长情又很酷 2020-12-13 20:44

I have a web server running out of my home. I have assigned it an address such as 192.168.1.123 on port 80.

I understand that this is running on my local network. If

3条回答
  •  执念已碎
    2020-12-13 21:07

    Yes, you need to set your router to forward connections to port 80 to your internal IP address (192.168.1.123). Look for Port Forwarding on your router admin screen which I would imagine you access by going to http://192.168.1.1

    Keep in mind that your ISP may block port 80 completely in which case you can run your web server on a different port (for example por 8180) and have your router forward connections to port 8180 to your internal IP.

    To access your server from outside, you just need to point your browser to your external IP address which you can find out by going to http://www.ipchicken.com

提交回复
热议问题