#Can’t start web app on 80 port cpu based pod

1 messages · Page 1 of 1 (latest)

blazing fiber
#

Hi everyone!

I have a web app. I used nginx for configuration proxy.

I started an app via http-server with port 4000, which is also opened via tcp.

I expose tcp ports 80 and 443 on start of the pod.(I am not sure, maybe I should open Http ports 80 and 443)

When I try to open ip address, I did not see my site.

Did I miss something?
I am mostly interested in port exposing, because I do not understand how this affects my configs.

Thank you in advanced!

#

And also, on start cpu pod with Runpod Ubuntu it has predefined /etc/nginx/nginx.conf. Should I change it according my config?

timber nexus
#

nope external ports are always random

blazing fiber
# timber nexus nope external ports are always random

Ok, but my main question how to start my app. If you have some instructions, how to create do that, it will be really helpful. Because for now I can’t understand where is the problem. Or we can somehow create it like a cookbook for the site.

blazing fiber
timber nexus
#

you cant pick what port you want to have external if you exposed port XX TCP it will get random assigned port
SO PORT yyyy WILL POINT TO INTERNAL PORT xx