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
Wantes to access dashboard via ip from remote host within same network #66
Comments
Hi, |
The requests send to the server have to match the servername. |
http://embark.local works fine locally. I mean I can access the dashboard from with in the VM. But I’m trying to access the dashboard from another machine. The machine from which I’m trying to access Embark VM both are on the same network. If I try to access embark host from other machine using http://10.x.x.x:80 I get you don’t have permission to access the resource message, even though I have registered a account to access embark dashboard. |
The url has to stay the same regardless of the IP, since the Apache server only accepts requests with the same name. (name-virtual host)
Alternatively you could try adding an alias: |
Was also looking for this. Just tried to modify the run-server.sh and added the line --server-alias and it works. Would be great to have this as an option (e.g. command line or config file) and/or quickly describe this in the README. Makes it possible to run EMBARK on a headless server. |
Again, this works if the dashboard is accessed from the same host where the instance is deployed. Did you trying accessing the dashboard using the ip:port from a different host within the same network.? |
@senthilkumarmoorthy Yes, just tried it. I added the line to run-server.sh at line 205 (--server-alias 192.168.0.55). The server runs in a VM with the IP 192.168.0.55. I can access EMBARK from a Browser on another system with http://192.168.0.55 Did not change anything else in EMBARK or host. |
I will do a fresh installation then. Thank you so much everyone so far. |
Great. It worked. I deployed it in a new VM and works flawlessly. Thank you @BenediktMKuehne & @jblu42 |
Hello, I deployed EMBA first and realized that I need a dashboard also so I deployed embark and this is in the esx server running a VM with Ubuntu Server 22.04.
I added
10.x.x.x embark.local
embark.local 10.x.x.x
in /etc/hosts
edited /var/www/httpd80/httpd.conf and added ip under redirect permanent but still I couldn’t access the dashboard using http://10.x.x.x:80 within being in the same network.
Please advise.
The text was updated successfully, but these errors were encountered: