Missing etc/hosts - ERR_CONNECTION_RESET - Unable to access via GUI

VetteBae

New Member
Dec 21, 2024
3
0
1
Hi folks, really appreciate any and all support in advance. I am very new to Proxmox (maybe 2 weeks into it). Set it up to run Home Assistant and other self-hosting endevours.

Issue:
I recently upgraded my home router system. In doing so, I had to go into Proxmox and updated the /etc/network/interface and /etc/host files with the new IP address following the advice on these forums.

I am able to ping my machine. The machine was able to run apt update && apt upgrade. The machine is showing on my new router with the proper IP address that I assigned it. However, it looks like I am missing the /etc/hosts file and am getting an ERR_CONNECTION_RESET error when trying to access GUI via IP:8006 (error_connection_reset) or localhost:8006. (error_connect_refused)

Finally, home assistant and my other vms are online. Just cant get to Proxmox GUI.

Please let me know what information you need from my end. If you could share which commands to run, that would also be greatly appreciated.
 
cat /etc/network/interfaces
auto lo
iface lo inet loopback

iface eno1 inet manual

auto vmbr0
iface vmbr0 inet static
address 192.168.68.100/32
gateway 192.168.68.1
bridge-ports eno1
bridge-stp off
bridge-fd 0


source /etc/network/interfaces.d/*

ip r s
default via 192.168.68.1 dev vmbr0 proto kernel onlink
 
Thanks so much for your prompt response. It looks like that resolved my main issue!

Follow-up question, why am I able to access via new IP:8006 on wireless devices but not wired devices? Could this be a caching issue?
 
The issue with not being able to access the GUI could be related to misconfigurations in the /etc/hosts file or missing dependencies for the Proxmox web interface.

Here are some steps to help troubleshoot and resolve the issue:

Check /etc/hosts: Recreate or edit the file. It should have at least the following entries:
Code:
127.0.0.1 localhost
[YourServerIP] [YourHostname] [YourHostname].local

Replace [YourServerIP] and [YourHostname] with your Proxmox server's IP and hostname.

Verify Proxmox Services: Ensure the required services are running:

Code:
systemctl status pveproxy
systemctl status pvedaemon

If any are inactive, restart them:

Code:
systemctl restart pveproxy pvedaemon

Firewall Rules: Double-check your Proxmox firewall settings to ensure traffic on port 8006 is allowed.

Browser and Cache: Clear your browser cache or try accessing the GUI in incognito mode. Sometimes cached settings can cause ERR_CONNECTION_RESET errors.

SSL Certificates: If there were changes in hostname or IP, regenerate SSL certificates to ensure proper connections:

Code:
pvecm updatecerts --force
 
  • Like
Reactions: fba and waltar

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!