Closed senthilkumarmoorthy closed 1 year ago
Hi, did you try using http://embark.local ?
The requests send to the server have to match the servername. (run-server.sh line 205)
Hi, did you try using http://embark.local ?
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) That's why the /etc/hosts entry is needed.
Alternatively you could try adding an alias:
--server-alias <HOSTNAME/IP>
at run-server.sh line 205
but I never tried that
Was also looking for this. Just tried to modify the run-server.sh and added the line --server-alias
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.