pveproxy running tcp6

helicrenz

New Member
May 29, 2021
21
1
1
33
Hello,

I got some issue its my 18 time installing proxmox server but this is my first time encountering this issue proxmox keep running port 8006 tcp6. I dont know what is wrong already check etc/host and everything. Can someone guide me how to fix this issue?

Regards,

Helicrenz
 
what exactly is the issue? pve listens on all interfaces by default
 
Hello dcsapak,

it seems port 8006 is bind to tcp6. I try to disable pve-firewall same issue try to disable ipv6 same issue.
tcp6 0 0 :::8006 :::* LISTEN 5057/pveproxy

I'm unable to access admin interface since its bind to tcp6. Any suggestion what should i check to fix this issue?
 
Last edited:
this is normal and it should be accessible from both ipv4 and ipv6 (disabling ipv6 is most often not the correct fix)
can you post your /etc/hosts and your /etc/network/interfaces and the url you try to access the webinterface?
 
here is the config thanks for you help!

/etc/hosts

Code:
root@emulator14:~# cat /etc/hosts

192.168.1.7 emulator14.helicrenz.com emulator14

127.0.0.1    localhost

#127.0.1.1    emulator14.helicrenz.com



# The following lines are desirable for IPv6 capable hosts

::1          localhost ip6-localhost ip6-loopback

ff02::1      ip6-allnodes

ff02::2      ip6-allrouters

/etc/network/interfaces
Code:
root@emulator14:~# cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

#source /etc/network/interfaces.d/*

auto lo
iface lo inet loopback

allow-hotplug enp1s0
iface enp1s0 inet dhcp
iface enp1s0 inet6 auto
 
Last edited:
ok how do you try to access the webinterface? ip or hostname? (and which?)

also having the server configured with dhcp is probably a bad idea, i'd set a static one
 
i'm trying to access it by ip address https://192.168.1.7:8006/ . Already tried using ip address still no luck

Code:
auto lo
iface lo inet loopback

auto enp1s0
iface enp1s0 inet static
        address 192.168.1.7/24
        gateway 192.168.1.1

My other emulator is working if i compare my other proxmox server the only difference is

emulator14 not working

Code:
root@emulator14:~# netstat -ntlp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      1/init
tcp        0      0 127.0.0.1:85            0.0.0.0:*               LISTEN      1081/pvedaemon
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      900/sshd
tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN      1043/master
tcp6       0      0 :::8006                 :::*                    LISTEN      1090/pveproxy
tcp6       0      0 :::111                  :::*                    LISTEN      1/init
tcp6       0      0 :::22                   :::*                    LISTEN      900/sshd
tcp6       0      0 :::3128                 :::*                    LISTEN      1097/spiceproxy
tcp6       0      0 ::1:25                  :::*                    LISTEN      1043/master

I'm not really what is going on i tried to reinstall the server couple of time still having the same issue.

Working proxmox emulator

Code:
root@emulator08:~# netstat -ntlp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 0.0.0.0:5901            0.0.0.0:*               LISTEN      20323/kvm
tcp        0      0 0.0.0.0:5902            0.0.0.0:*               LISTEN      2287/kvm
tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      1/init
tcp        0      0 0.0.0.0:5904            0.0.0.0:*               LISTEN      4264/kvm
tcp        0      0 0.0.0.0:5906            0.0.0.0:*               LISTEN      2402/kvm
tcp        0      0 0.0.0.0:5907            0.0.0.0:*               LISTEN      11630/kvm
tcp        0      0 0.0.0.0:5908            0.0.0.0:*               LISTEN      586/kvm
tcp        0      0 0.0.0.0:5909            0.0.0.0:*               LISTEN      26770/kvm
tcp        0      0 127.0.0.1:85            0.0.0.0:*               LISTEN      1051/pvedaemon
tcp        0      0 0.0.0.0:5910            0.0.0.0:*               LISTEN      5814/kvm
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      820/sshd
tcp        0      0 0.0.0.0:5911            0.0.0.0:*               LISTEN      20261/kvm
tcp        0      0 0.0.0.0:5912            0.0.0.0:*               LISTEN      13987/kvm
tcp        0      0 0.0.0.0:3128            0.0.0.0:*               LISTEN      1067/spiceproxy
tcp        0      0 0.0.0.0:5913            0.0.0.0:*               LISTEN      28623/kvm
tcp        0      0 0.0.0.0:25              0.0.0.0:*               LISTEN      1012/master
tcp        0      0 0.0.0.0:5914            0.0.0.0:*               LISTEN      11261/kvm
tcp        0      0 0.0.0.0:5915            0.0.0.0:*               LISTEN      4783/kvm
tcp        0      0 0.0.0.0:5916            0.0.0.0:*               LISTEN      19535/kvm
tcp        0      0 0.0.0.0:5917            0.0.0.0:*               LISTEN      18173/kvm
tcp        0      0 0.0.0.0:5918            0.0.0.0:*               LISTEN      22350/kvm
tcp        0      0 0.0.0.0:10050           0.0.0.0:*               LISTEN      19772/zabbix_agentd
tcp        0      0 0.0.0.0:8006            0.0.0.0:*               LISTEN      1060/pveproxy
tcp6       0      0 :::111                  :::*                    LISTEN      1/init
tcp6       0      0 :::22                   :::*                    LISTEN      820/sshd
tcp6       0      0 :::25                   :::*                    LISTEN      1012/master
tcp6       0      0 :::10050                :::*                    LISTEN      19772/zabbix_agentd
 
Last edited:
mhmm what does it say when you do
Code:
curl https://192.168.1.7:8006/ -k
on either node ?
 
here is the result. Thank you so much for your help.

Code:
root@emulator14:~# curl https://192.168.1.7:8006/ -k
<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <title>emulator14 - Proxmox Virtual Environment</title>
    <link rel="icon" sizes="128x128" href="/pve2/images/logo-128.png" />
    <link rel="apple-touch-icon" sizes="128x128" href="/pve2/images/logo-128.png" />
    <link rel="stylesheet" type="text/css" href="/pve2/ext6/theme-crisp/resources/theme-crisp-all.css" />
    <link rel="stylesheet" type="text/css" href="/pve2/ext6/crisp/resources/charts-all.css" />
    <link rel="stylesheet" type="text/css" href="/pve2/fa/css/font-awesome.css" />
    <link rel="stylesheet" type="text/css" href="/pve2/css/ext6-pve.css?ver=6.4-7" />
    <link rel="stylesheet" type="text/css" href="/pwt/css/ext6-pmx.css?ver=2.5-6" />

    <script type='text/javascript'>function gettext(buf) { return buf; }</script>

    <script type="text/javascript" src="/pve2/ext6/ext-all.js"></script>
    <script type="text/javascript" src="/pve2/ext6/charts.js"></script>

    <script type="text/javascript" src="/pve2/js/u2f-api.js"></script>
    <script type="text/javascript" src="/pve2/js/qrcode.min.js"></script>
    <script type="text/javascript">
    Proxmox = {
        Setup: { auth_cookie_name: 'PVEAuthCookie' },
        defaultLang: 'en',
        UserName: '',
        CSRFPreventionToken: 'null'
    };
    </script>
    <script type="text/javascript" src="/proxmoxlib.js?ver=2.5-6"></script>
    <script type="text/javascript" src="/pve2/js/pvemanagerlib.js?ver=6.4-7"></script>
    <script type="text/javascript" src="/pve2/ext6/locale/locale-en.js"></script>

    <script type="text/javascript">
    if (typeof(PVE) === 'undefined') PVE = {};
    Ext.History.fieldid = 'x-history-field';
    Ext.onReady(function() { Ext.create('PVE.StdWorkspace');});
    </script>

  </head>
  <body>
    <!-- Fields required for history management -->
    <form id="history-form" class="x-hidden">
    <input type="hidden" id="x-history-field"/>
    </form>
  </body>
</html>


Code:
root@emulator08:~# curl https://192.168.1.7:8006/ -k
<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <title>emulator08 - Proxmox Virtual Environment</title>
    <link rel="icon" sizes="128x128" href="/pve2/images/logo-128.png" />
    <link rel="apple-touch-icon" sizes="128x128" href="/pve2/images/logo-128.png" />
    <link rel="stylesheet" type="text/css" href="/pve2/ext6/theme-crisp/resources/theme-crisp-all.css" />
    <link rel="stylesheet" type="text/css" href="/pve2/ext6/crisp/resources/charts-all.css" />
    <link rel="stylesheet" type="text/css" href="/pve2/fa/css/font-awesome.css" />
    <link rel="stylesheet" type="text/css" href="/pve2/css/ext6-pve.css?ver=6.3-6" />
    <link rel="stylesheet" type="text/css" href="/pwt/css/ext6-pmx.css?ver=2.5-1" />

    <script type='text/javascript'>function gettext(buf) { return buf; }</script>

    <script type="text/javascript" src="/pve2/ext6/ext-all.js"></script>
    <script type="text/javascript" src="/pve2/ext6/charts.js"></script>

    <script type="text/javascript" src="/pve2/js/u2f-api.js"></script>
    <script type="text/javascript" src="/pve2/js/qrcode.min.js"></script>
    <script type="text/javascript">
    Proxmox = {
        Setup: { auth_cookie_name: 'PVEAuthCookie' },
        defaultLang: 'en',
        UserName: '',
        CSRFPreventionToken: 'null'
    };
    </script>
    <script type="text/javascript" src="/proxmoxlib.js?ver=2.5-1"></script>
    <script type="text/javascript" src="/pve2/js/pvemanagerlib.js?ver=6.3-6"></script>
    <script type="text/javascript" src="/pve2/ext6/locale/locale-en.js"></script>

    <script type="text/javascript">
    if (typeof(PVE) === 'undefined') PVE = {};
    Ext.History.fieldid = 'x-history-field';
    Ext.onReady(function() { Ext.create('PVE.StdWorkspace');});
    </script>

  </head>
  <body>
    <!-- Fields required for history management -->
    <form id="history-form" class="x-hidden">
    <input type="hidden" id="x-history-field"/>
    </form>
  </body>
</html>
 
Last edited:
umm..
Code:
root@emulator14:~# curl https://192.168.1.7:8006/ -k
[...]
    <title>emulator14 - Proxmox Virtual Environment</title>

Code:
root@emulator08:~# curl https://192.168.1.7:8006/ -k
[...]
    <title>emulator08 - Proxmox Virtual Environment</title>

do you have a duplicate ip in your systems? the curl goes both times to the same ip, but different nodes answer?
 
nope they are both running separate network.
what do you mean by that? there is clearly something wrong in your network because both nodes answer to the same ip address.. if you are
in the same network as both of those, it obviously will not work when you try to access the ip address ?
 
This mean emulator08 and emulator14 is on different network. They are not hosted in the same network. They have the same ip since they have different private network.
 
ok but i want that you curl the non-functioning node from a working node, maybe i did not write it clearly enough

also do you connect to each network with a vpn or similar?

did you maybe activate the firewall?
 
the non functioning node is emulator14 this is the result. I'm not using vpn and not using any firewall.
Code:
root@emulator14:~# curl https://192.168.1.7:8006/ -k
<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <title>emulator14 - Proxmox Virtual Environment</title>
    <link rel="icon" sizes="128x128" href="/pve2/images/logo-128.png" />
    <link rel="apple-touch-icon" sizes="128x128" href="/pve2/images/logo-128.png" />
    <link rel="stylesheet" type="text/css" href="/pve2/ext6/theme-crisp/resources/theme-crisp-all.css" />
    <link rel="stylesheet" type="text/css" href="/pve2/ext6/crisp/resources/charts-all.css" />
    <link rel="stylesheet" type="text/css" href="/pve2/fa/css/font-awesome.css" />
    <link rel="stylesheet" type="text/css" href="/pve2/css/ext6-pve.css?ver=6.4-7" />
    <link rel="stylesheet" type="text/css" href="/pwt/css/ext6-pmx.css?ver=2.5-6" />

    <script type='text/javascript'>function gettext(buf) { return buf; }</script>

    <script type="text/javascript" src="/pve2/ext6/ext-all.js"></script>
    <script type="text/javascript" src="/pve2/ext6/charts.js"></script>

    <script type="text/javascript" src="/pve2/js/u2f-api.js"></script>
    <script type="text/javascript" src="/pve2/js/qrcode.min.js"></script>
    <script type="text/javascript">
    Proxmox = {
        Setup: { auth_cookie_name: 'PVEAuthCookie' },
        defaultLang: 'en',
        UserName: '',
        CSRFPreventionToken: 'null'
    };
    </script>
    <script type="text/javascript" src="/proxmoxlib.js?ver=2.5-6"></script>
    <script type="text/javascript" src="/pve2/js/pvemanagerlib.js?ver=6.4-7"></script>
    <script type="text/javascript" src="/pve2/ext6/locale/locale-en.js"></script>

    <script type="text/javascript">
    if (typeof(PVE) === 'undefined') PVE = {};
    Ext.History.fieldid = 'x-history-field';
    Ext.onReady(function() { Ext.create('PVE.StdWorkspace');});
    </script>

  </head>
  <body>
    <!-- Fields required for history management -->
    <form id="history-form" class="x-hidden">
    <input type="hidden" id="x-history-field"/>
    </form>
  </body>
</html>
 

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!