Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

The firewall is off on my windows server 2008 r2, and no hardware firewalls, how to know what is blocking my port?

From the comments:

I am trying to connect to TFS from visual studio 2010, it gives me an error message, I can access to TFS server as a web server (port 80), but can't access the TFS port

---------------------------
Microsoft Visual Studio
---------------------------
Microsoft Visual Studio

TF31002: Unable to connect to this Team Foundation Server: http://xxxxxx.xxx:xxxx/tfs.

Team Foundation Server Url: http://xxxxxx.xxx:xxxx/tfs.



Possible reasons for failure include:

- The name, port number, or protocol for the Team Foundation Server is incorrect.

- The Team Foundation Server is offline.

- The password has expired or is incorrect.



Technical information (for administrator):

Unable to connect to the remote server
share|improve this question
1  
How do you know your port is being blocked? How does this manifest itself and what error messages do you see ? –  Iain Jun 14 '12 at 7:19
    
I am trying to connect to TFS from visual studio 2010, it gives me an error message, I can access to TFS server as a web server (port 80), but can't access the TFS port. –  Mohamed Sakher Sawan Jun 14 '12 at 7:20
    
--------------------------- Microsoft Visual Studio --------------------------- Microsoft Visual Studio TF31002: Unable to connect to this Team Foundation Server: xxxxxx.xxx:xxxx/tfs. Team Foundation Server Url: xxxxxx.xxx:xxxx/tfs. Possible reasons for failure include: - The name, port number, or protocol for the Team Foundation Server is incorrect. - The Team Foundation Server is offline. - The password has expired or is incorrect. Technical information (for administrator): Unable to connect to the remote server –  Mohamed Sakher Sawan Jun 14 '12 at 7:22
    
What are ways to block some port on windows server 2008 r2? –  Mohamed Sakher Sawan Jun 14 '12 at 7:44

1 Answer 1

The first thing to do would be to confirm that the process is listening on the port and is bound to the correct IP address and uses the correct protocol

netstat -abn | findstr <TFSport>

you'll get something like

TCP    0.0.0.0:17500    0.0.0.0    LISTENING    [Dropbox.exe] (I don't have TFS)

which say that the process is bound to all available IPv4 addresses. It may say

TCP    127.0.0.1:17500    0.0.0.0    LISTENING    [Dropbox.exe]

Which means it's only listening on the 127.0.0.1 IPv4 address. If the process is running and attached to the port/IP address as you expect and your inbound firewall has the correct port open then the next thing to check is that your workstation's outbound firewall is allowing connections to the server's IP address/port.

share|improve this answer
    
I am sure that TFS is running and ok, i can access TFS from other machines, but I cant do that from a specific server.+ –  Mohamed Sakher Sawan Jun 16 '12 at 8:04

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.