Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Checking opened port with telnet

Status
Not open for further replies.

newtomysql

Technical User
Apr 11, 2001
96
MY
Dear All,
I have opened a port and would like to check with telnet. So eg. I telnet 5700 but the screen just goes off I dont know is open or not the port. So how to make the telnet screen stop to show me status? Thank.s
 
telnet needs to be run from the command prompt not from the run command if that was how you were doing it.
 
Also, your results will be one of two things:

a) if you get a timeout after issuing the command, the server is not listening on the specified port

b) if you get a blank screen of other writing after issuing the command, the connection was succesful

Issuing telnet to a port may not display anything, it depends on how the application is configured to respond (if indeed it is configured to respond to a telnet request). As long as you get a blank screen and not a connection error, you can be assured that the telnet test worked.

--------------------------------------
"Insert funny comment in here!"
--------------------------------------
 
Dear All,
Ok now I am running it in the cmd window. So I have open the port via putting into the exception list but for example when I do a telnet 5700 it say Connecting to 5700 .....Could not open connection to the host, on port 23 : Connect failed. So what is the reason it is failing then.
 
the telnet needs an IP address as well so it would be the in the format of telnet 192.168.1.100 5700
 
Dear tlscousin,
I have tried putting it like this telnet Connecting to 1921.68.2.115 .....Could not open connection to the host, on port 5700 : Connect failed. So what else must I do ? Thanks.
 
Make sure no firewall is blocking.
make sure the telnet service is running on the computer your trying to telnet to.
I assume because this is the xp pro forum that the pc your telnetting to is xp pro.
 
Dear Tlccousin,
The pc I am using is xp pro. I have disable the windows firewall by choosing the off option. SO I am telnetting into my own local machine not other pc. Cause I have opened a port and I still cant go through it. But when I telnet port 80 is ok working so which only this port is not working. Thanks.
 
from the cmd window, try
Code:
netstat -an | find /i "listening"
and post what's reported
 
What application is listening on Port 5700? You say in your original post that you have "opened" the port, please can you explain what you mean?

Something (an application) must be listening on port 5700 in order for it to respond

--------------------------------------
"Insert funny comment in here!"
--------------------------------------
 
Dear All,
I have tried the command netstat -an | find /i "listening" but I dont see the port 5700 in the list of port listening. Ok actually I have 3 different pc's which I need to run vnc so I cant use 5900 for all of them so I change one of it to 5900. So what I mean by opening the port is that I have gone to the local connection property then select property then select the advance then select windows firewall settings and added the port 5700. The problem now I have checked there is no other firewall or even virus protector running. Infact I have even reformatted my pc twice. I dont know what is wrong so I am trying to find how check if the port is open or not? Thanks.
 
why cant u use port 5900???
vnc uses ip adresses to connect to different pc´s, they all can listen on the same port, just the one with the matching ip will answer.
 
Dear Lemon,
I have tried before it ask me for password when I put in it say wrong password. So the moment I change to different port it worked well. Thanks.
 
Here is your original post with all the history and background to this problem.

Port Openend But Cant Appear in netstat -a
thread779-1510706
 
Dear All,
So any one see what is my problem and what can be my solution then? Thanks.
 
Dear All,
Is there anything else I need to do when opening port other then the standard method? This because I was first trying to telnet port 3389 on my machine is ok work. Then I remove it from the exception list is still open. So can some one tell me why this happens and I guess maybe I need to do some extra steps in opening port ? Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top