[SOLVED] Socket error #10061 Connection refused

Questions about WAPT Server / Requests and help related to the WAPT server
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Locked
PierreM
Messages: 13
Registration: May 1, 2019 - 03:39

May 1, 2019 - 03:47

Hello everyone,

I have been trying for several hours to complete the installation but I am stuck, and I cannot find the cause.

Wapt server is installed on a virtual machine under Hyper-V, Windows Server 2012. Static IP address: 192.168.3.9

The steps taken are:

- Installation of WAPT Server version 1.7
- Modifying listening ports (via the Nginx conf file and in Wapt-get)
- Modification of firewall rules
- Added Aliases and CNAME

I think the problem is due to my server URL being incorrect. Thank you in advance for your help.

A few screenshots:
Wapt.jpg
Wapt.jpg (84.03 KB) Viewed 24979 times
Wapt2.jpg
Wapt2.jpg (15.49 KB) Viewed 24979 times
Wapt3.jpg
Wapt3.jpg (60.03 KB) Viewed 24979 times
PierreM
Messages: 13
Registration: May 1, 2019 - 03:39

May 1, 2019 - 10:23

I also tried using the associated DNS name (the machine is called waptsrv and our domain is lfrd.net)

I entered the IP address on our Firewall (pfsense), linking waptsrv to our domain.

Same result...
Wapt4.jpg
Wapt4.jpg (81.28 KB) Viewed 24964 times
Last edited by PierreM on May 2, 2019 - 03:42, edited 1 time.
PierreM
Messages: 13
Registration: May 1, 2019 - 03:39

May 1, 2019 - 10:24

Alias ​​and CNAME
wapt6.jpg
wapt6.jpg (118.13 KB) Viewed 24971 times
wapt7.jpg
wapt7.jpg (123.1 KB) Viewed 24971 times
Thank you again in advance.
PierreM
Messages: 13
Registration: May 1, 2019 - 03:39

May 23, 2019 - 09:05

Hello,

does anyone have any ideas?

Thanks in advance...
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

May 23, 2019 - 1:48 PM

What does this command return on your wapt server?

Code: Select all

netstat -ano | find ":4443"
And regarding your client:

Code: Select all

telnet 192.168.3.9 443
Bonus info for enabling telnet client on your Windows system:

Code: Select all

dism /online /Enable-Feature /FeatureName:TelnetClient
PierreM
Messages: 13
Registration: May 1, 2019 - 03:39

May 24, 2019 - 09:09

Thank you very much!

The command `netstat -ano | find ":4443"` is not recognized: parameter format not correct.

I haven't been able to install the client yet because I don't have access to the Wapt server...
PierreM
Messages: 13
Registration: May 1, 2019 - 03:39

May 24, 2019 - 09:17

By running netstat -a -b I get this:

C:\Users\Administrator>netstat -a -b

Active Connections

Proto Local Address Foreign Address State
TCP 0.0.0.0:135 waptsrv:0 LISTENING
RpcSs
[svchost.exe]
TCP 0.0.0.0:445 waptsrv:0 LISTENING
Can not obtain ownership information
TCP 0.0.0.0:5985 waptsrv:0 LISTENING
Can not obtain ownership information
TCP 0.0.0.0:8000 waptsrv:0 LISTENING
[nginx.exe]
TCP 0.0.0.0:8080 waptsrv:0 LISTENING
[waptpython.exe]
TCP 0.0.0.0:8443 waptsrv:0 LISTENING
[nginx.exe]
TCP 0.0.0.0:47001 waptsrv:0 LISTENING
Can not obtain ownership information
TCP 0.0.0.0:49152 waptsrv:0 LISTENING
[wininit.exe]
TCP 0.0.0.0:49153 waptsrv:0 LISTENING
EventLog
[svchost.exe]
TCP 0.0.0.0:49154 waptsrv:0 LISTENING
Schedule
[svchost.exe]
TCP 0.0.0.0:49155 waptsrv:0 LISTENING
[lsass.exe]
TCP 0.0.0.0:49162 waptsrv:0 LISTENING
[spoolsv.exe]
TCP 0.0.0.0:49176 waptsrv:0 LISTENING
[lsass.exe]
TCP 0.0.0.0:49190 waptsrv:0 LISTENING
Can not obtain ownership information
TCP 127.0.0.1:5432 waptsrv:0 LISTENING
[postgres.exe]
TCP 127.0.0.1:8088 waptsrv:0 LISTENING
[waptpython.exe]
TCP 127.0.0.1:8088 waptsrv:49463 ESTABLISHED
[waptpython.exe]
TCP 127.0.0.1:49413 waptsrv:8088 TIME_WAIT
TCP 127.0.0.1:49415 waptsrv:8088 TIME_WAIT
TCP 127.0.0.1:49416 waptsrv:8088 TIME_WAIT
TCP 127.0.0.1:49417 waptsrv:8088 TIME_WAIT
TCP 127.0.0.1:49419 waptsrv:8088 TIME_WAIT
TCP 127.0.0.1:49420 waptsrv:8088 TIME_WAIT
TCP 127.0.0.1:49421 waptsrv:8088 TIME_WAIT
TCP 127.0.0.1:49422 waptsrv:8088 TIME_WAIT
TCP 127.0.0.1:49424 waptsrv:8088 TIME_WAIT
TCP 127.0.0.1:49425 waptsrv:8088 TIME_WAIT
TCP 127.0.0.1:49426 waptsrv:8088 TIME_WAIT
TCP 127.0.0.1:49427 waptsrv:8088 TIME_WAIT
TCP 127.0.0.1:49429 waptsrv:8088 TIME_WAIT
TCP 127.0.0.1:49430 waptsrv:8088 TIME_WAIT
TCP 127.0.0.1:49431 waptsrv:8088 TIME_WAIT
TCP 127.0.0.1:49433 waptsrv:8088 TIME_WAIT
TCP 127.0.0.1:49434 waptsrv:8088 TIME_WAIT
TCP 127.0.0.1:49436 waptsrv:8088 TIME_WAIT
TCP 127.0.0.1:49438 waptsrv:8088 TIME_WAIT
TCP 127.0.0.1:49440 waptsrv:8088 TIME_WAIT
TCP 127.0.0.1:49441 waptsrv:8088 TIME_WAIT
TCP 127.0.0.1:49442 waptsrv:8088 TIME_WAIT
TCP 127.0.0.1:49443 waptsrv:8088 TIME_WAIT
TCP 127.0.0.1:49445 waptsrv:8088 TIME_WAIT
TCP 127.0.0.1:49446 waptsrv:8088 TIME_WAIT
TCP 127.0.0.1:49447 waptsrv:8088 TIME_WAIT
TCP 127.0.0.1:49449 waptsrv:8088 TIME_WAIT
TCP 127.0.0.1:49451 waptsrv:8088 TIME_WAIT
TCP 127.0.0.1:49452 waptsrv:8088 TIME_WAIT
TCP 127.0.0.1:49453 waptsrv:8088 TIME_WAIT
TCP 127.0.0.1:49455 waptsrv:8088 TIME_WAIT
TCP 127.0.0.1:49456 waptsrv:8088 TIME_WAIT
TCP 127.0.0.1:49457 waptsrv:8088 TIME_WAIT
TCP 127.0.0.1:49458 waptsrv:8088 TIME_WAIT
TCP 127.0.0.1:49460 waptsrv:8088 TIME_WAIT
TCP 127.0.0.1:49461 waptsrv:8088 TIME_WAIT
TCP 127.0.0.1:49462 waptsrv:8088 TIME_WAIT
TCP 127.0.0.1:49463 waptsrv:8088 ESTABLISHED
[wapttray.exe]
TCP 127.0.0.1:49464 waptsrv:8088 TIME_WAIT
TCP 127.0.0.1:49467 waptsrv:8088 TIME_WAIT
TCP 127.0.0.1:49468 waptsrv:8088 TIME_WAIT
TCP 192.168.3.9:139 waptsrv:0 LISTENING
Can not obtain ownership information
TCP [::]:135 waptsrv:0 LISTENING
RpcSs
[svchost.exe]
TCP [::]:445 waptsrv:0 LISTENING
Can not obtain ownership information
TCP [::]:5985 waptsrv:0 LISTENING
Can not obtain ownership information
TCP [::]:47001 waptsrv:0 LISTENING
Can not obtain ownership information
TCP [::]:49152 waptsrv:0 LISTENING
[wininit.exe]
TCP [::]:49153 waptsrv:0 LISTENING
EventLog
[svchost.exe]
TCP [::]:49154 waptsrv:0 LISTENING
Schedule
[svchost.exe]
TCP [::]:49155 waptsrv:0 LISTENING
[lsass.exe]
TCP [::]:49162 waptsrv:0 LISTENING
[spoolsv.exe]
TCP [::]:49176 waptsrv:0 LISTENING
[lsass.exe]
TCP [::]:49190 waptsrv:0 LISTENING
Can Not obtaining ownership information
TCP [::1]:5432 waptsrv:0 LISTENING
[postgres.exe]


I've already made the port changes, but I don't understand why port 4443 isn't showing up with netstat...

Thanks again for your help!
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

May 24, 2019 - 10:53

There's a small error in our documentation; two ports are mixed up:

4443 and 8443.

TCP 0.0.0.0:8443 waptsrv:0 LISTENING
[nginx.exe]

The documentation uses port 8443 as an example.

You need to modify the following on your system: C:\Program Files (x86)\wapt\wapt-get.ini

repo_url=https://wapt.mydomain.lan:8443/wapt
wapt_server=https://wapt.mydomain.lan:8443
PierreM
Messages: 13
Registration: May 1, 2019 - 03:39

May 27, 2019 - 11:08

Thank you so much, it works!
Locked