WireGuard connection issue

Hi,

When I tried a pritunl client on Linux machine in WG mode start I got these error messages:

[2023-10-24 11:12:41][ERROR] Request:  Client error ssl=true hostname=IP_server_external port=443 method=GET path=/key/sync/61ff20cbc1e709c149fd0572/63fa174a90ebae054ae4fd56/653644b488c49b9109058421/674cdf289ea36d61e071ed9f7124321a ttl=5000
Error: connect ECONNREFUSED IP_server_external:443
Error: connect ECONNREFUSED IP_server_external:443
    at __node_internal_captureLargerStackTrace (node:internal/errors:490:5)
    at __node_internal_exceptionWithHostPort (node:internal/errors:668:12)
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1494:16)

and

[2023-10-24 11:12:41][ERROR] Profiles: Failed to sync profile configuration
RequestError: Request:  Client error ssl=true hostname=IP_server_external port=443 method=GET path=/key/sync/61ff20cbc1e709c149fd0572/63fa174a90ebae054ae4fd56/653644b488c49b9109058421/674cdf289ea36d61e071ed9f7124321a ttl=5000
Error: connect ECONNREFUSED IP_server_external:443
Error: connect ECONNREFUSED IP_server_external:443
    at __node_internal_captureLargerStackTrace (node:internal/errors:490:5)
    at __node_internal_exceptionWithHostPort (node:internal/errors:668:12)
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1494:16)
[2023-10-24 11:12:41][INFO] Profiles: Updating profile 'c3eaf5502f04e61a'

On client’s machine firewall disabled. On server-side :

# netstat -ntulp | grep 443
tcp6       0      0 :::443                  :::*                    LISTEN      170736/pritunl-web  

WireGuard connections require access to the Pritunl web server to complete the authentication request. Verify the web server port is open to the client.

1 Like

Do you mean port 443? Now output of imap scanning tool:

Host is up (0.079s latency).
Not shown: 996 filtered tcp ports (no-response)
PORT     STATE  SERVICE
443/tcp  closed https
1443/tcp open   ies-lm
3005/tcp closed deslogin
4443/tcp open   pharos

and on pritunl server

Host is up (0.0000060s latency).
Not shown: 998 closed ports
PORT    STATE SERVICE
22/tcp  open  ssh
443/tcp open  https