Replies: 5 comments 1 reply
-
I changed the port to 3001, and that seems to have solved the issue, though I have no other services running on port 3000. |
Beta Was this translation helpful? Give feedback.
-
Seems like Docker is probably holding the port hostage on the host or missing SO_REUSEADDR somewhere in your stack, not a Kutt-specific bug. Kutt does use SO_REUSEADDR by default since nodejs does, so it would not get this error unless another node process was actually alive. |
Beta Was this translation helpful? Give feedback.
-
Well, after a reboot, the same thing happens. The new port gives me an error. Only when I change the port again in the .env does it work. Do I have to manually restart it every time? BTW, I'm not using Docker. Should I be? Is that my issue? |
Beta Was this translation helpful? Give feedback.
-
No, do not use Docker unless you really need to, it eats up your resources. Somehow the port is still in use in the background. Depending on your system, you can manually shut down the port, on Linux/macOS: # find the process
lsof -i tcp:3000
# kill the process (replace PID with the process ID found above)
kill -9 PID Or use npm package: npx kill-port 3000 I'm not sure why this happens, I need more information so I can track it down, but either way I don't think it's particularly because of Kutt. |
Beta Was this translation helpful? Give feedback.
-
This is weird. I have assigned port 3000, and when I boot the server I get an error in the Kutt web interface. Yes, it's because port 3000 is "in use." I kill the port, per instructions, and it instantly is back up. What further information may I provide? I'd like to track this down. Thanks. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Last night the homelab went down after a long power outage. The container that runs Kutt rebooted, but when I try to access Kutt, I get a screen that states: "Error! An error occurred. Please try again later." From the command line, I tried to run "npm start" and get the following error code:
I see it has a port conflict, but I'm stuck from there. Even a restart of the node did not help. Any suggestions? Thanks.
Beta Was this translation helpful? Give feedback.
All reactions