Unable to connect to Portainer

Berengario

New Member
Nov 22, 2023
2
0
1
Hi Guys

I am very new to all this VM, and Hyperviser. So I have given this a try as I wanted to run a small wordpress site at home for journaling.

I have setup Proxmox successfully. Initially it got stuck at finding my country, but rebooting and starting the install again worked fine.

Once in Proxmox at server "https://192.168.1.15:8006", downloaded Ubuntu 22-04, setup a container.
On the networking side i just selected DHCP, and for dns, i selected "use host settings"

Started the ubuntu server, logged in as root. Then installed Docker as per this article:
https://docs.docker.com/engine/install/ubuntu/

All went well

Installed portainer using this article:
https://docs.portainer.io/start/install/server/docker/linux

All was well

However unable to connect using the port "9443". I entered in the address bar: https://192.168.1.15:9443
no connection

I tried:
https://192.168.1.15:9443
https://192.168.1.15:9000
https://192.168.1.15:8000
http://192.168.1.15:8000

Nothing worked.

I typed "curl https://192.168.1.15:8006"
no problem

typed: "curl https://192.168.1.15:9443"
I got: Failed to connect to 192.168.1.15 port 9443 after 0 ms: Connection refused

I even tried: curl https://192.168.1.15
I got: Failed to connect to 192.168.1.15 port 9443 after 0 ms: Connection refused

Trying for 2 days now. Almost giving up. I tried CE and EE versions
 
Last edited:
Hi,
when you create a vm or a container, they don't share an ip with the host system (proxmox). You can run ip -a inside your container/vm to check which ip it got from your dhcp server.
You can imagine everything you create in Proxmox as a seperate device on your network with it's own ip and everything (gross oversimplification, but for the default settings it works ;)
 
192.168.1.15 is your PVE host. By default when you create a new container or VM in PVE they will use a bridge and be accessible on a different IP address. Just run ip a in the container or set a static IP address for the container in the network settings of the container.
 
OMW! You guys are amazing!

running ip a gave me the ip address as 192.168.1.27, using that worked!!!

Thank you so much!!!
 

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!