I just tried to publish my website via IIS. I forwarded the right ports to my LAN and it successfully connects to the LAN, but can't connect the internet. When using 192.168.1.20:8080 (which is my local IP address), it connects to the website, but when using my external IP address it doesn't work. What do I do wrong? Thanks!
-first of all you should have a static IP address.
-second make sure you add the make sure you add that IP address to your Network (NIC) card Interface and I hope it will work fine.
It likely has something to do with the port being auto-blocked by your Windows firewall or :80 not being routed to :8080 in your router.
I had this issue too, Windows Firewall's default was to block the :80 port. I just had to go in and make an exception.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.