-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unable to access http://development.localhost:8000 in dev development #1469
Comments
Thanks for providing such good information. Based on the fact that you are able to request at least some html within the container - I'd expect the problem to be docker or system based. You should at least get a 500 http response if the container is accessible from outside. Can you check the exposed ports, matching ip address (is development.localhost even mapped to this container?)? Please be aware, I'm using docker for windows, but there shouldn't be any big differences. |
I'll not be able to help anyone using Mac or windows. |
Description of the issue
Trying to access http://development.localhost:8000 from browser loads infinitely when running dev-container
Context information (for bug reports)
I followed the steps mentioned in Development container. However after running the bench start command I am not able to access the website in host machine. However if I do a
curl http://development.localhost:8000
inside container itself I am getting a response with HTML page.PS: I am using MacOS as host machine
Steps to reproduce the issue
cp -R devcontainer-example .devcontainer
cp -R development/vscode-example development/.vscode
.devcontainer/docker-compose.yml
and comment outMariaDB and its volume
and uncommentPostgresDB and its volume
bench init --skip-redis-config-generation frappe-bench && cd frappe-bench
bench new-site --db-type postgres --db-host postgresql development.localhost
bench start
Observed result
Expected result
The text was updated successfully, but these errors were encountered: