Proxmox not listening on default port

droidus

Member
Apr 5, 2020
107
2
23
34
I am trying to access my GUI via https://<ip>:8007. Here is what my netstat looks like:
2021-04-11_18-38.png
How do I configure it to listen on port tcp 8007?
 
is port 8007 open in your server?
check it using nmap tool:

Code:
nmap localhost -p 8007 -Pn -T5
systemctl status proxmox-backup-proxy.service
 
I don't have a solution, but I seem to have the same problem...

Code:
~ nmap localhost -p 8007 -Pn -T5
[...]
PORT     STATE  SERVICE
8007/tcp closed ajp12

~ systemctl status proxmox-backup-proxy
● proxmox-backup-proxy.service - Proxmox Backup API Proxy Server
     Loaded: loaded (/lib/systemd/system/proxmox-backup-proxy.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Fri 2021-07-30 19:41:28 AEST; 15min ago
Process: 1548 ExecStart=/usr/lib/x86_64-linux-gnu/proxmox-backup/proxmox-backup-proxy (code=exited, status=1/FAILURE)
   Main PID: 1548 (code=exited, status=1/FAILURE)
        CPU: 22ms

Jul 30 19:41:28 pbs1 systemd[1]: proxmox-backup-proxy.service: Scheduled restart job, restart counter is at 5.
Jul 30 19:41:28 pbs1 systemd[1]: Stopped Proxmox Backup API Proxy Server.
Jul 30 19:41:28 pbs1 systemd[1]: proxmox-backup-proxy.service: Start request repeated too quickly.
Jul 30 19:41:28 pbs1 systemd[1]: proxmox-backup-proxy.service: Failed with result 'exit-code'.
Jul 30 19:41:28 pbs1 systemd[1]: Failed to start Proxmox Backup API Proxy Server.
 
Thanks. I saw that one and a few google hits with various suggestions to disable ipv6 altogether. Done all that and now there is no :::8007 at all (good) and the only error I can glean is this one after a systemctl restart proxmox-backup-proxy...

Code:
proxmox-backup-proxy[18500]: Error: Address family not supported by protocol (os error 97)

For the life of me I cannot determine where proxmox-backup-proxy is configured to use any port, ipv6 or ipv4. Anyone have clue how to configure proxmox-backup-proxy to run on 0.0.0.0:8007 ?
 
I went looking for some config file using strace and all I could find is the same output as above. Google searches indicate that the error could be because of a localhost vs 127.0.0.1 issue or perhaps access to ipv4 is via ipv6 and my local network does not support ipv6 at all. I can't use this PBS server unless I can get to the gui for an ID to add it to my other proxmox nodes so I will give it one more shot with a fresh install before moving on to other backup solutions.

Code:
write(2, "Error: ", 7Error: )                  = 7
write(2, "Address family not supported by "..., 40Address family not supported by protocol) = 40
write(2, " (os error ", 11 (os error )             = 11

This is now two people reporting this same problem without a solution. My enthusiasm for Proxmox in general is waning.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!