bug fix

I made ​​it possible to specify the port.