fixed server port issues