Fix hard coded port number thanks to recommendation by James Graham