mirror of
https://github.com/louislam/uptime-kuma.git
synced 2026-03-02 22:57:00 -05:00
ERR_SOCKET_BAD_PORT on Node.js #707
Labels
No labels
A:accessibility
A:api
A:cert-expiry
A:core
A:dashboard
A:deployment
A:documentation
A:domain expiry
A:incidents
A:maintenance
A:metrics
A:monitor
A:notifications
A:reports
A:settings
A:status-page
A:ui/ux
A:user-management
Stale
ai-slop
blocked
blocked-upstream
bug
cannot-reproduce
dependencies
discussion
duplicate
feature-request
feature-request
good first issue
hacktoberfest
help
help wanted
house keeping
invalid
invalid-format
invalid-format
question
releaseblocker 🚨
security
spam
type:enhance-existing
type:new
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/uptime-kuma#707
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @outhSerge on GitHub (Jan 3, 2022).
⚠️ Please verify that this bug has NOT been raised before.
🛡️ 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
@louislam commented on GitHub (Jan 3, 2022):
I guess there are some environment variables such as
UPTIME_KUMA_PORTorPORTwere set. You may have to check whether it is presented.@outhSerge commented on GitHub (Jan 3, 2022):
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
@outhSerge commented on GitHub (Jan 3, 2022):
If it helps to resolve this issue, I can provide any access.
@chakflying commented on GitHub (Jan 3, 2022):
I think depending on your setup you can try to run it with an explicitly specified port:
@outhSerge commented on GitHub (Jan 4, 2022):
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!
@outhSerge commented on GitHub (Jan 4, 2022):
I tried to install the app on another domain but stil get timeout error...
What can be wrong?
@outhSerge commented on GitHub (Jan 4, 2022):
Thx a lot again!
My problem with ERR_CONNECTION_TIMED_OUT was solved when I changed:
server/server.js
to
*accountname and domain.com were changed, it's provided by my hoster.
And now it's working perfectly.
@crustulumtheoneandonly commented on GitHub (Jun 21, 2022):
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)
.
.
.
.
.
.