I have an issue with pysamba it won’t connect to the server
File "/app/Common/FileStore/file_store.py", line 211, in _get_connectionn connected = connection.connect(self.server_ip, 1000)n', ' File "/usr/local/lib/python3.7/site-packages/smb/SMBConnection.py", line 113, in connectn self.sock.connect(( ip, port ))n', 'ConnectionRefusedError: [Errno 111] Connection refusedn']}
ui_back exited with code 1
I have set the port to 1000 myself using samba docker container but it still doesn’t work
The weird thing is if I go inside the docker-compose.overide.yaml
file and change it back to 445:445
and 139:139
it works fine but not when I do 1000:445
1001:139
P.S. I chose 1000 and 1001 at random, they can be any numbers really other than 445 and 139
Source: Docker Questions
