Skip to content
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

I knew it is a dns problem, but don't know to solve is (local running PWD) #532

Open
jtuttas opened this issue Jun 25, 2022 · 2 comments
Open

Comments

@jtuttas
Copy link

jtuttas commented Jun 25, 2022

Hello, i just can start PWD locally (changed the PlaygroundDomain Variable in config/config.go to the IP Adress of the computer that hosted PWD). After a docker-compose up I can access the PWD via http://192.168.36.120 (this is a local address I've added.

But if I run e.g. nginx there will no port open. If i try to open the port by click on "Open Port" it opens an error page with the message "ip10-0-2-4-carcm7fgu6r0enq56gb0-1234.direct.192.168.36.120". And I'am not able to access the instance with ssh.

pwd

Ok, I know that i have a DNS Problem, but I have no idea how to solve it and did'nt find any suggestions here. So please can you help?

@jtuttas
Copy link
Author

jtuttas commented Jun 25, 2022

Ok i get further, I've installed the dns Server dnsmasq and set up a wildcard like address=/192.168.36.120/127.0.0.1. Now i can ssh to my PDW, but it asked for a password, which I did'nt know.

Open Ports still not working :-(

@marcosnils
Copy link
Contributor

Open Ports still not working :-(

DNS is not working because you need an actual domain name for it to work. If you have dnsmasq installed you need to set a wildcard domain that redirects *.mydomain to your IP and then use mydomain to access the playground.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants