Removed writing to open server port number (var/server.port) to file.
Use something like netstat -p instead and filter on the PID.