Revert "Set the port as well as protocol"

This reverts commit c08f3f176eda2ce7df7123ae4fa16985245f16b9.