Fixed hard-coding of port

Hi, just fixed the hard-coding of port