I’ve had issues with being completely unable to connect to a Dockerised dev instance.
I thought I’d give the non_docker dev version a try. From there I could connect to localhost but not any other address. I then saw featheredtoast’s comment about changing the defaults in dev environments to ensure that they bind to localhost (64d51a). So on the Docker instance I checked out the rev prior to that, and I can connect to the Dockerised instance!
Steps to replicate:
-
Follow Beginners Guide to Install Discourse for Development using Docker
-
Connections to port 9292 (localhost, 127.0.0.1, ::1, or by IP) are immediately closed
-
git checkout 4935c9f1f8db54312d8343a278c23cb0d3f6b61b
(prior rev) -
Rebuild dev environment and run
-
Connections to port 9292 work as expected