Allow to specify port and hostname