Run curl in the container of obsidian remote: curl localhost:27123, you'll get the status info of the API
Run curl from another client with the proper working traefik service: you'll get something like this: curl: (7) Failed to connect to 172.29.52.3 port 27123: Connection refused
You can setup also a port mapping from the container to the docker host. curl will not work as well, the error will be something like this: curl: (7) Failed to connect to 192.168.0.1 port 27123 after 111 ms: Couldn't connect to server
Expected behavior
I would expect that exposing the API port 27123 would work exactly like port 8080 works. In the described setup exposing 8080 works. The same doesn't work for 27123. Thats the used docker-compose.yml:
Describe the bug I exposed the port for the obsidian-local-rest-api extension in two ways:
In both cases I cannot access the API.
To Reproduce Steps to reproduce the behavior:
curl localhost:27123
, you'll get the status info of the APIcurl: (7) Failed to connect to 172.29.52.3 port 27123: Connection refused
curl: (7) Failed to connect to 192.168.0.1 port 27123 after 111 ms: Couldn't connect to server
Expected behavior I would expect that exposing the API port 27123 would work exactly like port 8080 works. In the described setup exposing 8080 works. The same doesn't work for 27123. Thats the used docker-compose.yml: