public int getServerPort() {
		return serverSocket != null ? serverSocket.getLocalPort() : -1;
	}
Get the server port
@return server port, -1 if server not yet started
Ghidra/Features/GhidraServer/src/main/java/ghidra/server/stream/BlockStreamServer.java