Question

Locked

Locating FTP connection from list of active connections in command prompt

By pebbles804 ·
Tags: Windows
I have two command prompts open. One that is ftp to ftp.microsoft.com , but didn't not completely log on with a user name and password. In the other command prompt window I entered "netstat -an" to view the list of active connections. However, I do not see the connection to the FTP site. Is there a reason why I am not able to view the connection?

This conversation is currently closed to new comments.

1 total post (Page 1 of 1)  
Thread display: Collapse - | Expand +

All Answers

Collapse -

Listing FTP connections with Windows Netstat

by Vallum Halo In reply to Locating FTP connection f ...

Nope. No reason that I can think of why the above command does not work. On my machine (a Windows 2008 server), the netstat -an output looks like this:

TCP 192.168.1.101:51834 134.170.188.232:21 ESTABLISHED

NOTE: 134.17.188.232 is ftp.microsoft.com -- 192.168.1.101 is my machine.

At a command prompt, I simply issued the following command to search for port 21 (the standard FTP port.)

netstat -an | find ":21"

I just connected, ran the command above while the ftp session was prompting for the user name.

Hope this helps.

Back to Windows Forum
1 total post (Page 1 of 1)  

Related Discussions

Related Forums