Fixed tiny error in server where it assumed port to be 0 (alright huge error)