fixed SERVER_PORT in routers when shared sockets are in place