Just as you'd ping
an IP of to a server to check if it is up, can we also check if, on that running server, a port is active/open?
this just comes from my head,but can you be more specific in your ping
statement?
`ping 127.0.0.1:7004`
I know this command is not allowed, but is there a way to check for this in Linux and Windows?
If you are willing and able to install software, you can use nmap
nmap -p 7004 127.0.0.1
Or if it is internet facing, use a web service such as http://www.yougetsignal.com/tools/open-ports/
That depends upon your access to system (client or server), You can use either of two options,
netstat -an
to check which ports are listeningtelnet host port
, if it is not working on linux machines try telnet host:port
.If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With