Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am trying to set up a website on my windows 7 machine. I opened a 'inbound rule' in firewall to open port 8000. When I try to visit the port from another computer in my home network, it works fine.

However, I also want people outside my home network to visit my website. So I set up a port forwarding on my home router, to forward port 8000 to 8000. When I try to visit the port from outside, it does not work. I have a linux server in my home and set up the port forward, and it works fine.

So I am sure that the router is set correctly, and the real problem is in windows firewall. The fact is that local computer in my home network can visit the port while outside computer cannot. And in the inbound rule, which is set in windows firewall, I select 'Allow edge traversal' explicitly, but it still does not work.

Anyone can help me?

Thanks a lot!

share|improve this question

migrated from serverfault.com Aug 6 '13 at 22:17

This question came from our site for professional system and network administrators.

1 Answer 1

If a user can access the website from inside the network, but an outside user cannot, it's almost always a NAT problem on the router.

But just in case, lets say it's not a router problem.

You would want to check to make sure that the scope of the Windows Firewall rule allows all IP addresses, and not just those that are within your local subnet.

share|improve this answer
    
Yes. I checked Any remote IP address is allowed. –  Jiechao Li Aug 6 '13 at 23:05
    
Then it's almost certainly a NAT problem. I'd re-check the rule you put in your router to be sure that you didn't accidentally fat-finger an IP address or something along those lines. –  Sector95 Aug 6 '13 at 23:11
    
That is so strange. I re-check the rule, and it's good. The strange thing is I have other Linux machines having NAT rules, they are working fine. Only this windows machine has problem. –  Jiechao Li Aug 6 '13 at 23:18

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.