{“reqId”:”gdTDS8zB13Bhme3kT4V0″,”level”:2,”time”:”2021-04-19T16:21:06+00:00″,”remoteAddr”:”::1″,”user”: “–“,”app”:”no app in context”,”method”:”GET”,”url”:”/nextcloud/”,”message”:”The localhost host was not connected because it violates local access rules”,”userAgent”:”Mozilla/5.0 (X11; CrOS armv7l 13597.84.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.187 Safari/537.36″,”version”:””} I can then access nc in localhost:8080/index.php where I select `postgres` and enter the Postgres details of my compound Docker: The solution: Change the local address with the address included by dot: for example, local.cloud Idk what you mean. I access it via my IP/Nextcloud.