Hi there! I just installed Typesense 26.0 on MacO...
# community-help
v
Hi there! I just installed Typesense 26.0 on MacOS using homebrew. When I run it like this:
typesense-server --enable-cors --data-dir=./typesense --api-key=xyz
It starts and then shuts down immediately. These are the logs — https://gist.github.com/voberoi/01c39a0ad93fbf119163bfebe50ceb2b The shutdown seems graceful. It’s just that… it doesn’t keep running for some reason?
Hm, apologies — ignore. I think I’m running a different typesense binary that I might have installed ages ago.
Actually, the problem still persists.
I’m running the one installed by the tap above.
Not sure what’s going on with this but I’m just going to run this in Docker, and that’s working.
j
Based on the logs you shared, this is the issue:
Copy code
E20240826 14:19:09.718235 132395584 http_server.cpp:175] Failed to listen on 0.0.0.0:8108 - Address already in use
If you run
lsof -i tcp:8108
you should see the process ID of the application using port 8108. You want to
kill -9
that process and try again
v
D’oh I missed that line.
Weird, didn’t realize that was running.
Thanks.
👍 1