How do I check if port 3389 is open?

I know this is not related to Unix but can anyone tell me command or method to check if port 3389 is open or not on my server? It means a good help to solve issue for me.

Try netstat command on Windows system. Open Windows command prompt and type the following commands:

netstat -aon | find /i "listening"

See if port 3389 is open

netstat -aon | find /i "listening" | find "3389"

Where netstat options are as follows:

  • -a : Displays all active TCP connections and the TCP and UDP ports on which the computer is listening.
  • -o : Displays active TCP connections and includes the process ID (PID) for each connection.
  • -n : Disable DNS lookup
  • find : Find command act as filtering with shell pipe

Another option is to use the nmap command from your Linux or Unix box to scan for open ports. See
https://www.cyberciti.biz/security/nmap-command-examples-tutorials/

1 Like

Nice !! Thanks !! It worked !

Hey, Roy! I just now found your post. The quickest and simplest way I have found to tell if a specific port is open is netstat -an | grep port_number.