[SOLVED] Can't access to web interface after fresh install

ziponas

New Member
Feb 20, 2024
5
0
1
Hello everyone,
I have no choice but to ask for your help. I'm a beginner in homelab and I'd like to install Proxmox VE. I have a problem that seems to be networks, which is not my forte. Here's the information I've gathered to help me. Thank you in advance for your time.

Code:
(made with png to text converter)
root@pve:"# ip address
1: lo: <LOOPBACK,UP,LOHER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
        valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host noprefixroute
        valid_lft forever preferred_lft forever
2: enp6s0: <BROADCAST, MULTICAST,UP,LOHER_UP> mtu 1500 qdisc pfifo_fast master vmbre state UP group default qlen 1000
    link/ether e8:9c:25:76:49:0d brd ff:ff:ff:ff:ff:ff
3: wlp5s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 10:68:38:c8:09:3f brd ff:ff:ff:ff:ff:ff
4: vmbro: <BROADCAST,HULTICAST,UP,LOHER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether e8:9c:25:76:49:0d brd ff:ff:ff:ff:ff:ff
    inet 192.168.68.119/24 scope global vmbro
        valid_lft forever preferred_lft forever
    inet6 fe80::ea9c:25ff:fe76:490d/64 scope link
        valid_lft forever preferred_lft forever

Code:
root@pve:"# cat /etc/network/interfaces
auto lo
iface lo inet loopback
iface enp6s0 inet manual
auto vmbre
iface vmbre inet static
    address 192.168.68.119/24
    gateway 192.168.68.1
    netmask 255.255.255.0
    bridge-ports enp6s0
    bridge-stp off
    bridge-fd 0

iface wlp5se inet manual
Source /etc/network/interfaces.d/*

Code:
root@pve:"# cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
192.168.68.119 pve.zipanos.com pve

# The following lines are desirable for IPv6 capable hosts

::1 ip6-localhost ip6-loopback
tfe00::0 ip6-localnet
ff00::0 ip6-mcast prefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

Code:
root@pve:"# nmap -p 8006 192.168.68.119
Starting Nmap 7.93 (https://nmap.org) at 2024-02-20 21:10 CET
Nmap scan report for pve.zipanos.com (192.168.68.119)
Host is up (0.00013s latency).
PORT    STATE    SERVICE
8006/tcp    open    upl-analytics
Nmap done: 1 IP address (1 host up) scanned in 0.09 seconds

Ping google.com OK
Ping another computer in network OK
Ping pve from another computer OK
curl -k localhost:8006 OK
curl -k 192.168.68.119:8006 from another computer KO
Code:
curl https://192.168.68.119:6008/
curl: (7) Failed to connect to 192.168.68.119 port 6008 after 2063 ms: Couldn't connect to server

By the way i've made it work with a debian to Proxmox installation but i want to make a default installation.

Thx a lot for reading.
 
Last edited:
so you can ping 192.168.68.119 from other systems, can you SSH into your host or are you running these ping/curl on the physical console?

your default interface should be vmbr0, not vmbre, right? And the port is 8006, try: curl -k https://192.168.68.119:8006 instead of your last example.

Also, if you are putting the CIDR prefix on address, I do not use the netmask line.
 
Yes I can ping 192.168.68.119 from other systems
I run ping/curl from the physical console.
when i try ssh root@192.168.68.119 i get a time out.
Code:
C:\Users\shoot>ssh root@192.168.68.19
ssh: connect to host 192.168.68.19 port 22: Connection timed out

The default interface is vmbr0, vmbre is a fail due to the conversion PNG/TXT.

When I do curl -k on the Windows machine, it works. However, I can't access https://192.168.68.119:6008/ or http://192.168.68.119:6008/ via firefox and edge. I get the error ERR_CONNECTION_REFUSED on edge
Code:
C:\Users\shoot>curl -k https://192.168.68.119:8006
<!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>pve - 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?ver=7.0.0" />
    <link rel="stylesheet" type="text/css" href="/pve2/ext6/crisp/resources/charts-all.css?ver=7.0.0" />
    <link rel="stylesheet" type="text/css" href="/pve2/fa/css/font-awesome.css" />
    <link rel="stylesheet" type="text/css" href="/pve2/font-logos/css/font-logos.css" />
    <link rel="stylesheet" type="text/css" href="/pve2/css/ext6-pve.css?ver=8.1.3" />
    <link rel="stylesheet" type="text/css" href="/pwt/css/ext6-pmx.css?ver=v4.1.3-t1700730770" />
    <link rel="stylesheet" type="text/css" media="(prefers-color-scheme: dark)" href="/pwt/themes/theme-proxmox-dark.css?ver=v4.1.3-t1700730770" />

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

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

    <script type="text/javascript" src="/pve2/js/u2f-api.js"></script>
    <script type="text/javascript" src="/qrcode.min.js"></script>
    <script type="text/javascript">
    Proxmox = {
        Setup: { auth_cookie_name: 'PVEAuthCookie' },
        defaultLang: 'en',
        NodeName: 'pve',
        UserName: '',
        CSRFPreventionToken: 'null'
    };
    </script>
    <script type="text/javascript" src="/proxmoxlib.js?ver=v4.1.3-t1700730770"></script>
    <script type="text/javascript" src="/pve2/js/pvemanagerlib.js?ver=8.1.3"></script>
    <script type="text/javascript" src="/pve2/ext6/locale/locale-en.js?ver=7.0.0"></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>
Thx for helping
 
try 8006, not 6008, in the web browser.

curl working from the Windows machine is good