Skip to content

Feature Request: Allow host names in addition to ip-addresses #147

@Jeroen-R

Description

@Jeroen-R

When specifying the server to connect to, it would be useful to allow hostnames.

If I take this library into production there will be multiple servers, which makes management of those servers an important topic.

When I run the following code, I'd expect it to work, but I get an error messages

        `Client.Connect("localhost:7777");`

(CLIENT): Invalid host address 'localhost:58473'! IP and port should be separated by a colon, for example: '127.0.0.1:7777'.

This appears to be a bit of an artificial limitation, I have never run into a system where I cannot swap out the ip address for the host name (I am sure it happens, just seen it rarely)

I am on 2.1.2.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature RequestNew feature or requestUnder ConsiderationIt remains unclear whether this feature is necessary or worth implementing

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions