Cannot hit webUI of application in Container

JeffWScott

New Member
Oct 12, 2017
8
0
1
42
I have no idea what I'm doing really, but I was able to setup an Ubuntu 16.04 container and log in.
I was then able to install an application like I normally would in Ubuntu, just using apt-get commands.

Afterwards I tried to hit the application's webui using IP/port and I get connection refused from Chrome.
I've installed this application 5 or 6 times before and I have never not been able to hit the port so that leads me to believe that I'm missing some part of this and not fully understanding containers.

As far as the container IP I set a static one and I can ping the container and obviously the container has internet access as it downloaded all the packages fine.

Can someone please help?
 
if you can ping the container, verify that the port where your application is running is open with a port scanner

I use nmap for that
testing for instance if the port 8080 on IP 192.168.16.75

nmap -p 8080 192.168.16.75
PORT STATE SERVICE
8080/tcp open unknown

of course you want that the state to be open ....
 
Thanks for the reply!
I actually figured out that it was a permissions issue with the way proxmox runs Ubuntu in a container. The application was installed with root:root and the user couldn't access the files to start. The service looked like it has started but actually hadn't.

Thanks for the command, it will come in handy as I trudge through! :)
 

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!