Pass the server port to host connection.

We were not passing the port number to the connection for UI tests.
Merge pull request #487 from omaciel/pass-port-number

Pass the server port to host connection.