hotsnr
hotsnr
RRunPod
Created by Anan on 11/14/2024 in #⛅|pods
accessing nginx server on my local machine
You made it public by configuring it in the template. http-server is just something inside your container to respond on this port.
25 replies
RRunPod
Created by Anan on 11/14/2024 in #⛅|pods
accessing nginx server on my local machine
If you're running http-server then you're connecting to it, if you run nginx then you would connect to it. Did you do step 3? You need to run nginx in your container (and not http-server).
25 replies
RRunPod
Created by Anan on 11/14/2024 in #⛅|pods
accessing nginx server on my local machine
Try to break it down into smaller problems: 1. HTTP server. 2. Connectivity. 3. Nginx config. 1) Try to use some very dumb HTTP server which doesn't need any configuration. For example, http-server from npm:
apt update
apt install -y npm
npm install -b http-server
http-server -a 0.0.0.0 -p 8000
apt update
apt install -y npm
npm install -b http-server
http-server -a 0.0.0.0 -p 8000
Note: you need to disable nginx first, otherwise http-server won't be able to start. Then open another SSH session and check that it works:
curl http://localhost:8000
curl http://localhost:8000
2) Next step - try to access it from the outside. First, make sure that port 8000 is exposed as TCP (not HTTP!) according to your template. When your pod is running, check out pod mappings - you need External port (8000 -> a.b.c.d:NNNN). Then you can try to open it in your browser - http://a.b.c.d:NNNN/. 3) Even the most basic config should work. Try this one, but don't forget to change port to 8000. https://ubuntu.com/server/docs/how-to-configure-nginx Note: don't forget to kill http-server before trying to launch nginx.
25 replies
RRunPod
Created by Anan on 11/14/2024 in #⛅|pods
accessing nginx server on my local machine
No, I was asking thread owner. I normally don't use DIscord, got confused, sorry.
25 replies
RRunPod
Created by Anan on 11/14/2024 in #⛅|pods
accessing nginx server on my local machine
i did it recently and it worked fine. can you share more details?
25 replies
RRunPod
Created by ART01 on 1/10/2024 in #⛅|pods
Multi-node training with multiple pods sharing same region.
Any updates on this one?
26 replies
RRunPod
Created by aksay_23298 on 11/5/2024 in #⚡|serverless
serverless workers idle but multiple requests still in the queue
I'm currently having this problem with msqzn0omp16d7h, usually happens when I push new payload (release)
4 replies