Localhost connection refused when accessing headless chrome instance from docker container using puppeteer (run locally)
Fixed it. I used hostname -f
on terminal to find the hostname and used it instead of localhost. I think there is no localhost mapping when launching chrome instance from docker.