SyntaxFix
Write A Post
Hire A Developer
Questions
Use nc command,
nc -zv <hostname/ip> <port/port range> For example, nc -zv localhost 27017-27019 or nc -zv localhost 27017
You can also use telnet command
telnet <ip/host> port