Accept parameter for port in server