Checking if port is open [closed]

2019-06-06 17:17发布

问题:

I want to see if port 1878 is open on my Windows Server 2008 R2. I use VPS server, so i talked with the VPS servers company and asked them to open all ports.

When i'm running telnet 172.0.0.1 1878 i get that the port is not reachable. Is there another way to see if the port is open or open it?

回答1:

Use may use software such as nMap to test if a port is working, more specifically if it is closed or open.

You may have to add the -Pn tag incase the port is hidden.

http://nmap.org/

Use the CLI Command:nmap (IP) -p (port)

Or, you may use a web based tool to check it if your VPS is live.

http://www.yougetsignal.com/tools/open-ports/



回答2:

You can use netstat to list out what is used and what isn't. You could also download netcat for windows, which effectively does the same as you trying telnet, it just has a command line option just to test if it can connect. That would be something like:

nc -z 127.0.0.1 1878