Hello,
ive got a huge problem with my connection.
When i start my server, first i got with ./seafile.sh start and then with ./seahub.sh start-fastcgi .
My problem is, when i start with this paramters on the upper row i cant connect threw the client, webbrowser runs well.
When i start the seahub with ./seahub.sh start then the client works well and the webbrowser doenst work.
Client error: Connection refused
Webbrowser error: seems to be in a loop, its just loading and never ending with a error in the browser.
My Configs:
ccnet.conf
[General]
USER_NAME = privcloud
ID = 918c329afcd40b778dd60feb62f7fe12d893f268
NAME = privcloud
SERVICE_URL = http://WAN IP:8000
[Client]
PORT = 13419
[Database]
ENGINE = mysql
HOST = 127.0.0.1
PORT = 3306
USER = user
PASSWD = pw
DB = ccnet-db
CONNECTION_CHARSET = utf8
seafile.conf
[fileserver]
port = 8082
[database]
type = mysql
host = 127.0.0.1
port = 3306
user = user
password = pw
db_name = seafile-db
connection_charset = utf8
nginx config:
server {
listen 1337;
server_name intern ip;(NAT SYSTEM)
proxy_set_header X-Forwarded-For $remote_addr;
location / { fastcgi_pass 127.0.0.1:8000; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_param PATH_INFO $fastcgi_script_name;
fastcgi_param SERVER_PROTOCOL $server_protocol; fastcgi_param QUERY_STRING $query_string; fastcgi_param REQUEST_METHOD $request_method; fastcgi_param CONTENT_TYPE $content_type; fastcgi_param CONTENT_LENGTH $content_length; fastcgi_param SERVER_ADDR $server_addr; fastcgi_param SERVER_PORT $server_port; fastcgi_param SERVER_NAME $server_name; fastcgi_param REMOTE_ADDR $remote_addr;
access_log /var/log/nginx/seahub.access.log; error_log /var/log/nginx/seahub.error.log; fastcgi_read_timeout 36000; client_max_body_size 0; }
location /seafhttp { rewrite ^/seafhttp(.*)$ $1 break; proxy_pass http://192.168.1.5:8082; client_max_body_size 0; proxy_connect_timeout 36000s; proxy_read_timeout 36000s; proxy_send_timeout 36000s; send_timeout 36000s; proxy_request_buffering off; }
location /media { root /home/seafile/filecloud/seafile-server-latest/seahub; }
}
So, i hope you can help me, the error logs are empty, firewall ports are okay and setted up.