Windows 7 is blocking ports

23,659

Solution 1

I had the same issue where port sniffers like firebind or what'smyip would say all my ports are closed even though I had them forwarded correctly through my router. I had my windows firewall disabled so I thought it couldn't be that but it turns out even if it is disabled it can still be blocking your outbound connections.

I went to my firewall advanced settings and made new rules for both inbound and outbound on the ports i needed access to and after doing so..viola! It works and is no longer blocking the ports I need.

When I was changing the rules for the outbound on the windows firewall it was defaulted to blocked and I had to change to allow.

I hope this helps even one person because I know I could have used it, been troubleshooting all day with my ISP and the companies of the programs I was trying to run to no avail and it all turned out to be in my disabled firewall...

Solution 2

It isn't clear if you are trying to use those ports in the OUTBOUND direction (trying to reach some server on the Internet through those ports) or whether you are trying to have an application running on your Windows 7 machine listen on those ports.

If you are trying to test those ports outbound, then you can use Firebind.com.

They hava a Java Applet client here http://www.firebind.com/clients/applet/

You can enter any TCP or UDP port and Firebind will validate whether you can send traffic from your client machine out to the Internet on the chosen ports.

Solution 3

Could it be an issue with how Windows Firewall was turned off?

Background info

Disabling Windows Firewall

Cheers, Eric

Share:
23,659

Related videos on Youtube

Caleb1994
Author by

Caleb1994

Updated on September 18, 2022

Comments

  • Caleb1994
    Caleb1994 over 1 year

    I am trying to open port 80 and 3690 for HTTP and svnserve respectively (inbound for both). I have Windows Firewall off, and have tried temporarily disabling Mcafee VirusScan Enterprise, to no avail. According to http://www.yougetsignal.com/tools/open-ports/, both ports 80 and 3690 are still blocked. I can't think of what would be blocking them if Windows Firewall and my antivirus are disabled. Here is the output of netsh firewall show state

    Firewall status:
    -------------------------------------------------------------------
    Profile                           = Standard
    Operational mode                  = Disable
    Exception mode                    = Enable
    Multicast/broadcast response mode = Enable
    Notification mode                 = Enable
    Group policy version              = Windows Firewall
    Remote admin mode                 = Disable
    
    Ports currently open on all network interfaces:
    Port   Protocol  Version  Program
    -------------------------------------------------------------------
    3690   TCP       Any      (null)
    22     TCP       Any      (null)
    80     TCP       Any      (null)
    1900   UDP       Any      (null)
    2869   TCP       Any      (null)
    

    Any help? I'm not sure what each item on the list of enabled/disabled items is, but "Operational Mode" is disabled, so I assume that one refers to me disabling Windows Firewall. I know that since Windows Firewall is off, this output might not be useful, but I figured I'd include it just in case, haha.

    I ran nmap on our global IP and here is the port information it gave:

    Host is up (0.00031s latency).
    Not shown: 988 closed ports
    PORT      STATE SERVICE
    135/tcp   open  msrpc
    445/tcp   open  microsoft-ds
    554/tcp   open  rtsp
    2869/tcp  open  unknown
    3390/tcp  open  unknown
    5357/tcp  open  unknown
    10243/tcp open  unknown
    49152/tcp open  unknown
    49153/tcp open  unknown
    49154/tcp open  unknown
    49156/tcp open  unknown
    49175/tcp open  unknown
    

    I'm not sure how it retrieves this information, so I don't know how to change it on the machine.

    • tvdo
      tvdo almost 12 years
      Does your ISP allow connections to those ports? Do you have a router performing NAT, which you would need to configure port forwarding on?
    • tvdo
      tvdo almost 12 years
      If you haven't configured port forwarding, then an external port checking tool is not going to work. You could set up a webserver or something and just try connecting within your local network. Also, that site has never worked for me; the PF Port Checker is more reliable (the downloaded program is listening on that port at the time of testing).
    • Caleb1994
      Caleb1994 almost 12 years
      I also checked it with canyouseeme.org, and it showed closed also. I'm not at a Windows box, now, so I can't use PF Port Checker. Also, I checked with nmap. I'll update my post with the results from nmap. I enabled port forwarding, and forwarded HTTP to my room (where I already had apache2 running on Kubuntu), and still no luck.
    • Caleb1994
      Caleb1994 almost 12 years
      Could our router still be blocking the port, even it is only functioning to route traffic? E.g. DHCP is disabled, and it simply takes packets from the main machine and passes them around the network. It doesn't have to do NAT. Our desktop machine does all of that. I hope not... it was trying to take things over when we set it up, so we set it up on a different subnet, and it would be a pain to get to the routers settings... (I don't remember the IP or the subnet...)
    • Renju Chandran chingath
      Renju Chandran chingath almost 10 years
      First of all make sure that no services are using those ports. try netstat -aon and find PID of services running and then goto task manager enable PID column and check whether any service is already using it.
  • Caleb1994
    Caleb1994 almost 12 years
    I'm sorry. I thought it was evident that I was talking about inbound connections, because port 80 is almost never blocked for outbound (I wouldn't be here, would I? :P), and the only thing that svnserve would do is listen. It is a server after all. :D But, I should have specified none the less.
  • Nathan Hornby
    Nathan Hornby almost 7 years
    Where is one to run these commands? They don't seem to be recognised in Windows.