Check if FileMaker Server is Listening
If you’re like me, you like to know if your servers are doing what they’re suppose to do!
For the Mac users, there is a little command line tool called “NC” that can help. The command is as follows:
nc -zw 3 server.ip.address 5003
And returns something like this (if successful):
[9/19/11 10:55:21 AM] User Name: That returns: Connection to server.ip.address 5003 port [tcp/fmpro-internal] succeeded!
If there is no process or service listening on that TCP port, it returns a blank line.
The command breakdown is as follows:
NC is the NetCat command
-z is instructing NetCat to listen only. It will not send any data to the port
-w is creating a timeout for 3 seconds.
server.ip.address is the address of the server you wish to connect to.
5003 is the port for FileMaker Server. You can use this with any port you would like.
For Windows users, it looks like there is a port of this: http://joncraton.org/blog/netcat-for-windows