Proxmox Setup for New User

rmontalvo

New Member
Jun 27, 2022
3
0
1
New Proxmox user.

Installed Proxmox 7.2-1 on a SSD. After the installation I am asked to direct a web browser to a specific address. No matter what I do, I cannot get any browser to connect to the address.

I suspect that proxmox is not connected to the internet. How does internet get setup on proxmox? Have tried installing with ethernet connected but that doesn’t seem to help.


Thank you in advance for your help.
 
Is that PVE server hosted locally or is it hosted somewhere in a datacenter? If its part of your LAN it doesn't need internet (atleast for accessing the webUI).

Most common beginner errors:
1.) you typed in "http:" instead of "https:"
2.) you forgot to type in the ":8006" part of the URL
3.) you kept the default IP of "192.168.100.2" when installing it, instead of choosing a free IP of your routers subnet. Only clients can access that server that are part of the same subnet. So if your PVE IP would be "192.168.100.2" then only clients using a IP between "192.168.100.1" and "192.168.100.254" can access it.
4.) you typed in some random IPs for the gateway and DNS server and not the IP of your router (not that important for webUI access but for internet to work)
5.) you plugged the ethernet cable in the wrong NIC (in case your server got multiple NICs)
 
Last edited:
  • Like
Reactions: pongomongo
Thank you! Great information! It has to be 3.) and/or 4.)

Didn’t gather any info from the router before installing.
 
You can either install it again with the correct IPs or you manually edit the config files (for example nano command) through the console.

Files needed to edit are:
"/etc/network/interfaces" ("address" and "gateway" lines)
/etc/hosts (the line that is not "127.0.0.1")
/etc/resolv.conf ("nameserver" line)
 
Last edited:
Is that PVE server hosted locally or is it hosted somewhere in a datacenter? If its part of your LAN it doesn't need internet (atleast for accessing the webUI).

Most common beginner errors:
1.) you typed in "http:" instead of "https:"
2.) you forgot to type in the ":8006" part of the URL
3.) you kept the default IP of "192.168.100.2" when installing it, instead of choosing a free IP of your routers subnet. Only clients can access that server that are part of the same subnet. So if your PVE IP would be "192.168.100.2" then only clients using a IP between "192.168.100.1" and "192.168.100.254" can access it.
4.) you typed in some random IPs for the gateway and DNS server and not the IP of your router (not that important for webUI access but for internet to work)
5.) you plugged the ethernet cable in the wrong NIC (in case your server got multiple NICs)
Went back, verified IP and DNS server, tried multiple combinations of IPs for Proxmox and still cannot connect from any device on the network. Tried using the router IPv4 (192.168.1.246) and IP address (192.168.1.1). The DNS is the same IP: 192.168.1.1.

Shouldn’t be this difficult.
 
Last edited:
Dont forget to reboot after changing network configurations or atleast do a systemctl restart networking so the changes take into effect.
If you gave your PVE host the IP 192.168.1.246/24 that should be fine if 192.168.1.1 is your router.

You could run ip addr to see if your NIC is up and running and systemctl status pveproxy.service + netstat -lntp | grep 8006 to verify that the service that is hosting the webUI is running.
And check that you really use the link https://192.168.1.246:8006 to access the webUI.
 
Is that PVE server hosted locally or is it hosted somewhere in a datacenter? If its part of your LAN it doesn't need internet (atleast for accessing the webUI).

Most common beginner errors:
1.) you typed in "http:" instead of "https:"
2.) you forgot to type in the ":8006" part of the URL
3.) you kept the default IP of "192.168.100.2" when installing it, instead of choosing a free IP of your routers subnet. Only clients can access that server that are part of the same subnet. So if your PVE IP would be "192.168.100.2" then only clients using a IP between "192.168.100.1" and "192.168.100.254" can access it.
4.) you typed in some random IPs for the gateway and DNS server and not the IP of your router (not that important for webUI access but for internet to work)
5.) you plugged the ethernet cable in the wrong NIC (in case your server got multiple NICs)
Hi @Dunuin,

I am also new to Proxmox/this forum, and my first challenge is similar to this one, where I can login with root access to Proxmox, but I cannot connect using the web GUI. Seems like there are many posts where people struggle with this.

In another thread, user @bbgeek17 suggests "reducing your DHCP range so that the PVE IP is not within it. That usually helps with access to non-standard ports."

Would you mind clarifying the guidance for me?

My network gateway (router ip address) is 192.168.8.1. The DHCP range for my lan subnet is 100-150. To properly configure Proxmox initial setup:

1. Should I set the Proxmox gateway to 192.168.8.1?
2. Should I set the Proxmox IP address to a number within the subnet range or outside of the subnet range?

Thanks!
 
Last edited:
Report update - I tried both. Answers to my own questions posted here for future strugglers.

1. Yes, setting the Proxmox gateway to my network gateway (router ip address) was the correct thing to do.
2. Using an IP address within my lan DHCP range (but that was free/not currently assigned to any other devices) did not work. When I used an IP address that was outside of my lan DHCP range (in my case 192.168.8.99)--this worked! I am able to login to the web GUI.

Thanks @Dunuin and @bbgeek17 for your previous posts that guided me in the right direction!
Also, as luck would have it...after banging my head against the wall, trying, failing, and then finding success....then I discover this video, which is amazing:

From Zero to Proxmox: A Easy to Follow Getting Started Guide
https://www.youtube.com/watch?v=5j0Zb6x_hOk&list=PLT98CRl2KxKHnlbYhtABg6cF50bYa8Ulo
 
Last edited: