Docker Uploading File via REST connection refused

I did the following Settings and i am using Windows: (i split urls since they are not allowed here)

version: ‘3.7’

networks:
seafile-net:

services:
seafile:
environment:
SEAFILE_SERVER_HOSTNAME: jitpayfiles . eu # Specifies your host name if https is enabled.
CSRF_TRUSTED_ORIGINS: local host
SEAFILE_ADMIN_EMAIL: me@example.com # Specifies Seafile admin user, default is ‘me@example.com’.
SEAFILE_ADMIN_PASSWORD: asecret # Specifies Seafile admin password, default is ‘asecret’.
#TIME_ZONE: UTC # Optional, default is UTC. Should be uncomment and set to your local time zone.
SEAFILE_SERVER_LETSENCRYPT: 0 # Whether to use https or not.
image: seafileltd/seafile:latest
networks:
- seafile-net
ports:
- “80:8000”
volumes:
- /C/Development/docker/document-service/shared:/shared

In the UI i changed the value to this. so i can work locally.

SERVICE_URL: http : //local host : 8000
FILE_SERVER_ROOT: http : //local host/seafhttp

My MultiPartData Request has the folowing values:

POST URL: http : //local host : 8000/u/d/084726b182214af791c9/ link from retrieved from http : //local host : 80/api/v2.1/upload-links/

Headers:

Authorization: Token 7d0a9815c39b58f667be5567cefcb25b3b3feaa9 Token from http : //local host/api2/auth-token/
Accept: */*
Access-Control-Allow-Origin: *

Body:

parent_dir: /
replace: 1
relative_path: test
file: as binary filebody

Exception:

Exception in thread “main” org.apache.http.conn.HttpHostConnectException: Connect to local host : 8000 [local host / 127.0.0.1, local host / 0:0:0:0:0:0:0:1] failed: Connection refused: connect

Has anyone an idea on how to solve this?

I am not sure what you seek to do.

I want to use the REST-API to upload a file while being on the same machine. The Server on localhost and the code to upload the file also fired from localhost.