Only one Client Works (Webbrowser or Client)


ive got a huge problem with my connection.
When i start my server, first i got with ./ start and then with ./ 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 ./ 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:

USER_NAME = privcloud
ID = 918c329afcd40b778dd60feb62f7fe12d893f268
NAME = privcloud
SERVICE_URL = http://WAN IP:8000

PORT = 13419

ENGINE = mysql
PORT = 3306
USER = user
DB = ccnet-db


port = 8082

type = mysql
host =
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_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;
    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.