WebUI connection timeout after IP change

  • Thread starter Thread starter ezt
  • Start date Start date
E

ezt

Guest
I know this has been asked before, but the answers I found didn't help out.

This problem occurs on a proxmox (v2) installation with only one host (i.e. no cluster).

After changing the IP in "/etc/network/interfaces" and "/etc/hosts" PING and SSH works, but I can't connect to the WebUI via https://<NewIP>:8006.

Things I've tried:
- reboot of the machine
- creation of a interfaces.new file + reboot
- setting the host parameter in "/usr/bin/pveproxy"

Are there any other files I should check for the old IP? How can I tell the WebServer (pveproxy?) to use the new IP?

Regards
 
I've restarted pveproxy by executing "service pveproxy restart" but it still doesn't work, sorry.

Thanks for your reply!

Best regards
 
May be check if your node with new IP address is listening on port 8006 at all?

#netstat -a | egrep 'Proto|LISTEN'
 
I had this problem too. Command "systemctl status pveproxy.service" returned "start failed - failed to get address info for: myoldhostname: Name or service not known" so i did "hostname mynewhostname" (mynewhostname do not contain any dots, should be only first part of the fqdn!), /etc/hostname and /etc/hosts should contain proper hostname and IP. Then i reload networking, restarted pveproxy "service pveproxy restart" the "worker" started. It may show this "/etc/pve/local/pve-ssl.key: failed to load local private key (key_file or key) at /usr/share/perl5/PVE/APIServer/AnyEvent.pm line 1626."
One may try command "pvecm updatecerts", restart or reboot. It started working for me then.