true to check a TCP port, false for UNIX domain socket
the file name for the UNIX domain socket
the TCP port
true if a server instance is running
See Implementation