-
Notifications
You must be signed in to change notification settings - Fork 698
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
(Self Hosted) Can't access to PWD home page #558
Comments
Looks like |
@marcosnils these two lines indicate that the
|
yes, that seems to be correct. What happens when you try to open |
If I do a |
where and how are you running your VM? |
The CentOS VM is running from an ESXi server, I have other docker applications that work perfectly on other VMs on the same hypervisor. |
ok, since you're not running this in your local machine, you first need to modify the playground domain here https://github.com/play-with-docker/play-with-docker/blob/master/config/config.go#L68 so you can connect to http://<my_vm_hostname> from your browser. |
Good call 👍🏻 effectively if I set the <net1_ip> instead of localhost in "playground-domain", then I can access to the app from my web browser at http://<net1_ip>. But I do not have Start button. Usually we use a reverse proxy for the urls, I configured it to point to <net1_ip> (as we usually do) but impossible to reach PWD from https://<my_custom_url>.domain.com Is there still a subtlety to modify in the code ? |
Yes, you also need to add the domain to the CORS exceptions here: play-with-docker/handlers/bootstrap.go Lines 71 to 76 in 7188d83
|
@marcosnils thank you for the support, now I can start new instance ! Do you know how to manage it, please ? |
@marcosnils I followed the Docker doc to configure the proxy so that the containers can access it but with PWD it doesn't work. I also added the |
@oijkn I did the same thing. but still got the same error. any insights? |
Below is the information of the VM :
The commands that I typed :
Here is a part of the logs :
Do you have any idea why it doesn't work, please ?
The text was updated successfully, but these errors were encountered: