Use default port if only IP address is specified.