You are not logged in.

#1 2014-07-19 16:15:03

Marvix
Member
Registered: 2013-10-08
Posts: 157

[SOLVED] Syncthing error - Cannot start GUI: listen tcp 127.0.0.1:8080

Since I've used syncthing I loved it. So it had to make my friends to use it and in one of them we have following error every time we want to start it.

Cannot start GUI: listen tcp 127.0.0.1:8080: bind: address already in use

Does anyone have experienced this before?

Last edited by Marvix (2017-11-02 17:13:27)

Offline

#2 2014-07-19 18:36:21

alexirsi
Member
Registered: 2014-07-17
Posts: 15

Re: [SOLVED] Syncthing error - Cannot start GUI: listen tcp 127.0.0.1:8080

There is some other application already listening on that port. To check which one, use the following command (the tool netstat is in the package net-tools btw):

sudo netstat -tulpen | grep 8080

Then, change the port of this program, or of syncthing (in ~/.config/syncthing/config.xml)

<address>127.0.0.1:8080</address>

Last edited by alexirsi (2014-07-19 18:37:29)

Offline

#3 2014-07-19 19:21:44

Marvix
Member
Registered: 2013-10-08
Posts: 157

Re: [SOLVED] Syncthing error - Cannot start GUI: listen tcp 127.0.0.1:8080

The first command gives me

tcp        0      0 127.0.0.1:8080          0.0.0.0:*               LISTEN      
1000       219646     4123/syncthing

I don't see a program using it.

Even when I set a new address I get the same error as the first post.

Offline

#4 2014-07-19 19:23:00

alexirsi
Member
Registered: 2014-07-17
Posts: 15

Re: [SOLVED] Syncthing error - Cannot start GUI: listen tcp 127.0.0.1:8080

It seems the program is already running wink
Can you access the web-interface at http://127.0.0.1:8080 ?

Offline

#5 2014-07-19 19:43:16

Marvix
Member
Registered: 2013-10-08
Posts: 157

Re: [SOLVED] Syncthing error - Cannot start GUI: listen tcp 127.0.0.1:8080

Only under HTTPS as I had already set it before.

I think I found the solution. I had the program to run, since the installation it recommends to autostart with

systemctl start syncthing@user

and i stopped it using

systemctl stop syncthing@user

and tried again with success without error.

Thank you very much for your time. smile wink

Last edited by Marvix (2014-07-19 19:44:26)

Offline

Board footer

Powered by FluxBB