2

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.

2
  • What's the error that you're getting on the PC?
    – squillman
    Aug 3, 2012 at 15:32
  • connection is blocked, its timing out.
    – x-man
    Aug 3, 2012 at 15:54

4 Answers 4

2

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.

5
  • thanks for the answer. as i said i disabled firewall in the router.
    – x-man
    Aug 3, 2012 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. Aug 3, 2012 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, 2012 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, 2012 at 16:13
  • Seems like the only solution is to reinstall windows.
    – x-man
    Aug 17, 2012 at 8:25
1

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.

2
  • 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, 2012 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, 2012 at 15:56
0

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.

1
  • Its not getting to the server.
    – x-man
    Aug 16, 2012 at 16:12
0

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

1
  • 1
    This may be better as a comment on the question, asking if ping/traceroute show the network is okay. Dec 23, 2012 at 12:35

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .