Port issue with Ollama server

Hello, when I try to run the ollama server I get this error:

davidct@fedora:~$ ollama serve
Error: listen tcp 127.0.0.1:11434: bind: address already in use

Any idea about how to fix it? I am on KDE Fedora 42.

Is ollama already running?
Is it installed as a systemd service for example?

You can see what os on a network port using the command

sudo ss -tapn

Look for the line about port 11434.

You were right! It seems to be already running:

State                     Recv-Q                 Send-Q                                 Local Address:Port                                     Peer Address:Port                Process                                                     
LISTEN                    0                      4096                                       127.0.0.1:11434                                         0.0.0.0:*                    users:(("ollama",pid=1117,fd=3))                   
1 Like