Bugfix: Using wrong port number.

We should only use port number specified in hte config
file.