Just check for port parameter only when starting the server