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.

I have a program that uses a server's port 1099 but my computer cannot connect (times out). The PC having the trouble is running Windows 7. I have disabled Windows Firewall, the antivirus, and the router has all ports open. Still I cannot connect to the server. I am using telnet 1099 but cannot connect.

Meanwhile, other PCs, on another network can connect with no problem.

Appreciate any tips for troubleshooting.

share|improve this question
    
What's the error that you're getting on the PC? –  squillman Aug 3 '12 at 15:32
    
connection is blocked, its timing out. –  x-man Aug 3 '12 at 15:54
add comment

4 Answers

By default a client should not have any problem connecting to a remote server, regardless of the port. From the sound of things it seems more like a Router or Firewall on your network connection may either be blocking on restricting the connection.

I would check your router for any rules or restrictions in place.

share|improve this answer
    
thanks for the answer. as i said i disabled firewall in the router. –  x-man Aug 3 '12 at 15:53
    
Like I said, most likely this sounds like an issue either with your network connection, internet connection or the server in which you are trying to connect. –  Brent Pabst Aug 3 '12 at 16:24
    
No, its not an issue with firewall. I verified it: with another PC the connection to that port is successful. –  x-man Aug 16 '12 at 16:12
    
The issue is definitely with Windows, but it is very strange. I disabled all the firewalls and antiviruses, not helping. –  x-man Aug 16 '12 at 16:13
    
Seems like the only solution is to reinstall windows. –  x-man Aug 17 '12 at 8:25
add comment

Could possibly be an application on your local PC already listening on port 1099, that could be causing the issue.

From a command line run: netstat -a -n -b

Look for a process using port 1099 and note down the PID ( process ID)

Then open Task Manager, click on view - select columns add PID ( this will add the PID information to every process.

Kill the process and try again.

share|improve this answer
    
No, nothing is listening on that port. When I run telnet to 1099 it does not work, while to other ports it works. I verified its not firewall, because with another PC the connection to that port is successfull. –  x-man Aug 16 '12 at 16:11
    
Hi X-man, what I meant was on your local PC. could be that something on the local PC is running on port 1099 or blocking port 1099. What would help is if you install wireshark on your PC and start logging all network data, then try to connect to the server on port 1099. Filter wireshark using server IP and port 1099 and paste the results here. –  Ankh2054 Sep 20 '12 at 15:56
add comment

your best bet would be to install a TCPdump tool on your PC and on the server and see if it's getting to the server. If it is then you know that the server for some reason is terminating your connection.

share|improve this answer
    
Its not getting to the server. –  x-man Aug 16 '12 at 16:12
add comment

First try a ping is the other side is visible, then a tracert to see at what network hub the communication stops...

share|improve this answer
    
This may be better as a comment on the question, asking if ping/traceroute show the network is okay. –  EightBitTony Dec 23 '12 at 12:35
add comment

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.