Seafile server has several components, so several TCP ports are used.
All ports related configuration are recorded in ccnet.conf
and seafile.conf
.
ccnet.conf
ccnet
under seafile-server
folder. The file ccnet.conf
is there.seafile.conf
seafile-data
under seafile-server
folder. The file seafile.conf
is there.In the following section we list the TCP ports used by each of seafile components, as well as how to change them (For example, some port may have already been used by some other application).
Note: If you change any of the ports, you have to restart seafile server.
ccnet is the networking service for seafile server
[Network]
PORT = 10001
seaf-server provides the data service for seafile server
seafile.conf
. Change the value of port under the network section.[network]
port=22001
seafile fileserver handles raw file upload/download for Seahub
seafile.conf
. Change the value of port under the fileserver section.[fileserver]
port=8082
seahub is the web interface of seafile server.
Note: If you change the port of seahub, you need to change the SERVICE_URL
in ccnet.conf
.
seafile.conf
. Change the value of port under the seahub section. (This is added in Seafile Windows Server 1.7.0.1)[seahub]
port=8000
ccnet.conf
, modify the value of SERVICE_URL
accordingly. For example, if you have changed the port to 8001, then modify the value of SERVICE_URL
accordingly:[General]
SERVICE_URL = <Your IP OR DOMAIN>:8001