-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ERR_SOCKET_BAD_PORT on Node.js #1118
Comments
I guess there are some environment variables such as |
Ok, I'm searching through files: UPTIME_KUMA_PORT
PORT
One more point, perhaps this is important - I'm trying to install app on a subdomain - monitor.example.com |
If it helps to resolve this issue, I can provide any access. |
I think depending on your setup you can try to run it with an explicitly specified port: UPTIME_KUMA_PORT=3001 node server/server.js |
I added "UPTIME_KUMA_PORT=3001" to package.json like this:
and it solves ERR_SOCKET_BAD_PORT problem, but I still can't open the app - the page just get ERR_CONNECTION_TIMED_OUT and logs clear (without errors, just "Listening on 3001" at the end). Anyway, thx a lot, my problem solved! |
I tried to install the app on another domain but stil get timeout error...
What can be wrong? |
Thx a lot again! server/server.js
to
*accountname and domain.com were changed, it's provided by my hoster. And now it's working perfectly. |
If anyone finds this when trying to spin up Uptime Kuma in kubernetes and is just starting out, my deployment.yaml looked like this with the missing env variable added: (no guarantee) .
. |
🛡️ Security Policy
📝 Describe your problem
Hello!
I installed it according to the instructions, but the application didn't open. In the logs:
I contacted support, they said that ports 3000 and 3001 are open.
What am I doing wrong, what could be the problem?
Thanks!
🐻 Uptime-Kuma Version
1.11.1
💻 Operating System and Arch
Linux web772.default-host.net 3.10.0-962.3.2.lve1.5.63.el7.x86_64 #1 SMP Fri Oct 8 12:03:35 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
🌐 Browser
Chrome, Version 96.0.4664.110 (Official Build) (64-bit)
🐋 Docker Version
No response
🟩 NodeJS Version
16.13.1 LTS
The text was updated successfully, but these errors were encountered: