[TUTORIAL] Cant access web interface locally

rogerdv

New Member
Feb 13, 2024
5
0
1
Im starting to work with proxmox and have a serious probem. Currently, I dont have a workstation available to access the web interface and have to wait for some other PC to become available, so I was forced to do something not recommended: install Xfce+Firefox to manage the system locally. Yet, I found that I cant access the web administration interface, I always get an error saying connection refused, both on localhost or the eth ip address that works perfectly on other PCs. I have looked at the configuration but cant find any option controlling local access, or firewall rules preventing local addresses to access the system. What can I do to solve this?
 
I think Tutorial prefix is intended for posts where you present an educational way to teach the forum members something. Your post is more of "help me troubleshoot" type. No big deal.

Can you ssh into PVE and run the following command: curl -sk https://localhost:8006 ?
Do you receive any output?



Blockbridge: Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 
I think Tutorial prefix is intended for posts where you present an educational way to teach the forum members something. Your post is more of "help me troubleshoot" type. No big deal.

Can you ssh into PVE and run the following command: curl -sk https://localhost:8006 ?
Do you receive any output?
Nop, I get nothing. To be precise, I cant ssh into my pve, but I tried from a local session. Not sure if I can do it from a Windows workstation.
 
Did you remove packages that come with the DE that might screw things up? Gnome for example came with the NetworkManager package that interferes with PVEs network config.
 
  • Like
Reactions: bbgeek17
Did you remove packages that come with the DE that might screw things up? Gnome for example came with the NetworkManager package that interferes with PVEs network config.
No. I followed this guide. Later, I installed firefox. I have been careful to not to remove anything, or even update the system (which eventually I wil have to, because it is an old version).
 
Nop, I get nothing. To be precise, I cant ssh into my pve
If you cant ssh, then you have a network problem. Perhaps a duplicate IP. There are many, many threads on network troubleshooting.

In short:
examine your "ip a" output. Is interface UP? Is IP information correct?
examine /etc/network/interfaces - is information as expected and does it match "ip a" ?
can you ping between hosts on the same network segment?
If nothing jumps out to you, provide these same outputs to the forum.


Blockbridge: Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 
but I tried from a local session
What does this mean? Did you login to physical console of the server via keyboard and monitor, then run that command and received nothing?
If the answer is "yes", then the PVE services are not running (in addition to network being broken based on "no ssh").
This can have same or different cause than SSH. A bad /etc/hosts entry for example.

In summary - troubleshoot and fix your network configuration to get SSH working first, then retry "curl" test, and troubleshoot further if its still not working.


Blockbridge: Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 
What does this mean? Did you login to physical console of the server via keyboard and monitor, then run that command and received nothing?
If the answer is "yes", then the PVE services are not running (in addition to network being broken based on "no ssh").
This can have same or different cause than SSH. A bad /etc/hosts entry for example.

In summary - troubleshoot and fix your network configuration to get SSH working first, then retry "curl" test, and troubleshoot further if its still not working.


Blockbridge: Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
Exactly. I logged in in the physical server. By the way, seems that I didnt stated it clearly: I can use the web admin interface from other PCs. Curious detail: there is a Windows PC in the office with Administrator and an user account. From the user account I can manage proxmox. From the Administrator account I get the connection refused error. Had to ask the user his password so I can do administration tasks while he is away.
 
By the way, seems that I didnt stated it clearly: I can use the web admin interface from other PCs.
Yes, indeed its quite confusing. If it is as you state above, then it is impossible that "curl -sk https://localhost:8006", when run from the physical console of the PVE, produced no results.

curious detail: there is a Windows PC in the office with Administrator and an user account. From the user account I can manage proxmox. From the Administrator account I get the connection refused error.
This is quite a pickle... My guess is that it has nothing to do with PVE and everything to do with your windows workstation, proxies, browser extensions, etc.
https://learn.microsoft.com/en-us/p.../test-netconnection?view=windowsserver2022-ps

Good luck


Blockbridge: Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 

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!