Skip to content
This repository was archived by the owner on Feb 8, 2023. It is now read-only.
This repository was archived by the owner on Feb 8, 2023. It is now read-only.

connect() doesn't accept DNS hostname #1

@AlexNachbaur

Description

@AlexNachbaur

If you invoke connect() with a DNS hostname, the following error will be returned:

{ message: 'ECONNREFUSED, Connection refused'
, stack: [Getter/Setter]
, errno: 111
, syscall: 'connect'
}

whereas if you connect to an IP address, it will go through fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions