fix port configuration for server