fun advertisedPort(): Int
IllegalStateException - if the service is not started
IllegalStateException
Return the port advertised by the server