Closed zhyph closed 1 year ago
You might want to try setting STATUS_HTTP_PORT to a port other than 80 (dont forget to add that port to the docker compose, and port forward). If you can then fetch the status from outside there is probably some default service on your vm that is running on port 80.
You might want to try setting STATUS_HTTP_PORT to a port other than 80 (dont forget to add that port to the docker compose, and port forward). If you can then fetch the status from outside there is probably some default service on your vm that is running on port 80.
Oh, that actually makes sense because the firewall by default forwards port 80. Later today, I'm going to give it a try, and I'll report back. Thanks.
Just tested, and it's working, changed port to 3000, and now I can get /status.json
.
Thanks @wcdanh2
Hello,
I'm trying to use status web server as a way to make my life easier, and just check in my browser if the connection of my server is ok without the need to SSH into the server and checking manually.
Running
curl localhost:80/status.json
inside my VM works just fine. But trying to fetch it outside, though my external link, just doesn't work.This is my docker compose
This is my env file
In my cloud service port 80/tcp is already forwarded, what exactly I'm missing?