Try IP from here as xdebug.remote_host : cat /Users//Library/Containers/com.docker.docker/Data/database/com.docker.driver.amd64-linux/slirp/host