This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Checking of open ports of a remote IP .

0

For instance, my current ip address is 192.168.2.33 , but I want to check for open ports of the ip address 191.168.1.44 .

If I enter netstat -an on my machine, it checks for open ports on my machine and not the remote machine right ?

How do I use netstat to probe the remote ip at 191.168.1.44 instead ?

Also, for example is I want to check if FTP is open. If telnet 191.168.1.44 20 is successful, does it mean that the FTP port is open ?

Thanks in advance for any replies :)

asked 01 May '13, 22:26

Dinged's gravatar image

Dinged
367711
accept rate: 0%


2 Answers:

1

How do I use netstat to probe the remote ip at 191.168.1.44 instead ?

You can't as netstat will only show LISTENing connections on the local machine and ESTABLISHed connections to a remote system, if there is an open session.

If telnet 191.168.1.44 20 is successful, does it mean that the FTP port is open ?

Please connect to port 21, as that's the FTP control connection. If you see the banner message of the FTP server, it means that there is a FTP server running. If you don't get any response, it means there is either no service running (look for TCP RESETs in Wireshark) or there is a firewall that blocks the connection.

Regards
Kurt

answered 02 May '13, 04:09

Kurt%20Knochner's gravatar image

Kurt Knochner ♦
24.8k1039237
accept rate: 15%

Thanks for the reply, it clarified my doubts. This may be off-topic, but is there any common software being used to probe for remote ip ? The software on my mind is Nmap.

(02 May '13, 06:08) Dinged
1

namp is the 'standard' tool for port scanning. There is also a free Windows tool, called 'SoftPerfect Network Scanner' and numerous other tools. Just google for: port scanner

(02 May '13, 06:43) Kurt Knochner ♦

0

Hi, you can always use nmap or any other port scanning web site to try check the remote port? but if i remember correct, you cant use telnet to check udp port.

answered 01 May '13, 23:46

splibytes's gravatar image

splibytes
11445
accept rate: 0%