proxmox 8006 port is closed cant access web ui

jishnuj

New Member
Apr 12, 2022
7
1
3
I made some changes in network interface , after that cant access proxmox via web ui and ssh ( changes i made - i removed enp2s0 from vmbr0 and added vmbr1 and attached enp2s0 and put static ip),after that i edited the etc/network/interfaces file using ubuntu live cd . Now i can access proxmox through ssh but still web ui not working getting an error in web browser like connection refused , i checked status of 8006 via ssh but it shows port closed.


My current interfaces file

# network interface settings; autogenerated
# Please do NOT modify this file directly, unless you know what
# you're doing.
# If you want to manage parts of the network configuration manually,
# please utilize the 'source' or 'source-directory' directives to do
# PVE will preserve these directives, but will NOT read its network
# the PVE managed interfaces into external files!


auto lo
iface lo inet loopback

auto enp2s0
iface enp2s0 inet manual

auto vmbr0
iface vmbr0 inet static
address 192.168.0.122/24
gateway 192.168.0.1
bridge-ports enp2s0
bridge-stp off
bridge-fd 0
 
Last edited:
  • Like
Reactions: jishnuj
hi,

did you change the IP address of the host?
if yes, then take a look here [0], you will have to edit some other files to make it work again, namely /etc/hosts and if you had a cluster defined on your host then take a look at the section for editing corosync configuration [1]

[0]: https://pve.proxmox.com/wiki/Renaming_a_PVE_node
[1]: https://pve.proxmox.com/pve-docs/chapter-pvecm.html#pvecm_edit_corosync_conf
thank you oguz,


nano /etc/hosts

result:


127.0.0.1 localhost.localdomain localhost


192.168.0.122 mjk.myhost1213.com vpj





# The following lines are desirable for IPv6 capable hosts





::1 ip6-localhost ip6-loopback


fe00::0 ip6-localnet


ff00::0 ip6-mcastprefix


ff02::1 ip6-allnodes


ff02::2 ip6-allrouters


ff02::3 ip6-allhosts
 
#systemctl status corosync
Result



● corosync.service - Corosync Cluster Engine


Loaded: loaded (/lib/systemd/system/corosync.service; enabled; vendor pres>


Active: inactive (dead)


Condition: start condition failed at Mon 2022-03-21 02:33:29 IST; 3min 17s ago


└─ ConditionPathExists=/etc/corosync/corosync.conf was not met


Docs: man:corosync


man:corosync.conf


man:corosync_overview





Mar 21 01:26:57 vpj systemd[1]: Condition check resulted in Corosync Cluster En>


Mar 21 02:33:29 vpj systemd[1]: Condition check resulted in Corosync Cluster En>


lines 1-11/11 (END)
 
* is this node part of a cluster setup?

* what do you get when you run hostname -i