erduan

New Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by erduan

  1. Thanks for your reply.

     

    I get the same error:

    **** ERROR ******** Unable to listen for HTTP traffic on port 80.  Exiting...

    But netstat shows me that port 80 is not in use.

    pi@raspberrypi:~ $ sudo netstat -nplActive Internet connections (only servers)Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program nametcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      484/sshdtcp6       0      0 :::22                   :::*                    LISTEN      484/sshdudp        0      0 0.0.0.0:54702           0.0.0.0:*                           401/avahi-daemon: rudp        0      0 0.0.0.0:5353            0.0.0.0:*                           401/avahi-daemon: rudp        0      0 0.0.0.0:68              0.0.0.0:*                           483/dhcpcdudp        0      0 192.168.1.47:123        0.0.0.0:*                           500/ntpdudp        0      0 192.168.1.222:123       0.0.0.0:*                           500/ntpdudp        0      0 127.0.0.1:123           0.0.0.0:*                           500/ntpdudp        0      0 0.0.0.0:123             0.0.0.0:*                           500/ntpdudp6       0      0 :::5353                 :::*                                401/avahi-daemon: rudp6       0      0 :::44627                :::*                                401/avahi-daemon: rudp6       0      0 fe80::ba27:ebff:fed:123 :::*                                500/ntpdudp6       0      0 ::1:123                 :::*                                500/ntpdudp6       0      0 :::123                  :::*                                500/ntpdraw6       0      0 :::58                   :::*                    7           483/dhcpcdActive UNIX domain sockets (only servers)Proto RefCnt Flags       Type       State         I-Node   PID/Program name    Pathunix  2      [ ACC ]     STREAM     LISTENING     6671     1/init              /var/run/avahi-daemon/socketunix  2      [ ACC ]     STREAM     LISTENING     6673     1/init              /var/run/dbus/system_bus_socketunix  2      [ ACC ]     STREAM     LISTENING     6806     483/dhcpcd          /var/run/dhcpcd.sockunix  2      [ ACC ]     STREAM     LISTENING     6808     483/dhcpcd          /var/run/dhcpcd.unpriv.sockunix  2      [ ACC ]     STREAM     LISTENING     4000     1/init              /run/systemd/privateunix  2      [ ACC ]     SEQPACKET  LISTENING     4022     1/init              /run/udev/controlunix  2      [ ACC ]     STREAM     LISTENING     4026     1/init              /run/systemd/journal/stdout

    I installed BTsync 2.2.7 manually before with the ARM package listed on getsync.com and I was able to use port 80 with BTsync, that's why I think it's related to the config or your init.d script.

     

    Does someone have a clue?

     

    Edit:

    There seems to be the culprit!

    Binding ports 1-1024 required root:

    https://forums.freenas.org/index.php?threads/btsync-using-port-80-for-gui.22453/

     

    Didn't knew that, I'm going to find a way around this.

  2. Hello,

     

    I downloaded your script on a fresh Raspbian jessie installation and I'm encountering a problem I cannot fix.

     

    After installing BTsync with your script (latest version 2.2.7), there is a bug at first.

    It tells me to run BTsync with following command, which is not working:

    "sudo service btsync start"

    instead I had to start it with "sudo /etc/init.d/btsync"

     

    Well, it's working and starting, I can open the webui over port 8888.

     

    Now I wanted to change the port 8888 to 80, which worked on my manual installation:

    "listen" : "0.0.0.0:8888", --> "listen" : "0.0.0.0:80",

     

    The webui is just not starting anymore.

     

    I looked at /etc/init.d/btsync and removed --quiet and -b of start(), which showed me details after running btsync.

     

    It still shows port 8888 to me after running:

    "BitTorrent Sync forked to background. pid = XYZ. default port = 8888"

     

    Why doesn't the port change? I made the correct entry at the /etc/btsync/config.json file.

     

    Edit: Same problem with all other ports than 8888