RestComm / Restcomm-Docker

Docker Image for RestComm at https://github.com/RestComm/RestComm-Connect
http://www.restcomm.com/
GNU Affero General Public License v3.0
14 stars 31 forks source link

Admin UI is not loading #106

Open iasbm opened 7 years ago

iasbm commented 7 years ago

I have just upgraded to Windows 10 Pro and pulled latest DOCKER image of Restcomm by following the instructions on the web page (http://documentation.telestax.com/connect/configuration/docker/Restcomm%20-%20Docker%20Quick%20Start%20Guide.html#restcomm-docker).

Then initially I ran the container by executing the following command ... "docker run -i -d --name=restcomm-myInstance -v /var/log/restcomm/:/var/log/restcomm/ -e RCBCONF_STATIC_ADDRESS="10.0.75.1" -e ENVCONFURL="https://raw.githubusercontent.com/RestComm/Restcomm-Docker/master/env_files/restcomm_env_locally.sh" -p 80:80 -p 443:443 -p 9990:9990 -p 5060:5060 -p 5061:5061 -p 5062:5062 -p 5063:5063 -p 5060:5060/udp -p 65000-65050:65000-65050/udp restcomm/restcomm:latest"

then I tried to access admin UI by both https://10.0.75.1 but I am getting the error ( Connection timed out or took too long etc or connection refused)

Then I tried to search for similar issues on forums and follow this discussion (https://github.com/RestComm/Restcomm-Docker/issues/105) and based on that this time I ran the container with the below command by explicitly adding the ports 8080 and 8443.

docker run -i -d --name=restcomm-myInstance -v /var/log/restcomm/:/var/log/restcomm/ -e RCBCONF _STATIC_ADDRESS="10.0.75.1" -e ENVCONFURL="https://raw.githubusercontent.com/RestComm/Restcomm-Docker/master/env_files/r estcomm_env_locally.sh" -p 9990:9990 -p 5060:5060 -p 5061:5061 -p 5062:5062 -p 5063:5063 -p 5060:5060/udp -p 65000-65050 :65000-65050/udp -p 8080:8080 -p 8443:8443 restcomm/restcomm:latest

But in both the cases I am facing the same issue and just can't reach the Admin Ui of RESTCOMM.

Any help or suggestion would be highly appreciated and thanks in advance.

Rgds Sam

gsaslis commented 7 years ago

@iasbm did you ever get this to work?

I was having similar issues (albeit on OSX) and - like you - I also discovered the right ports were not 80 and 443, rather 8080 (and 8443).

I was able to access the restcomm admin UI on port 8080 (but not on 8443 out of the box), so perhaps at that point you need to look into your firewall settings?

Looks like this thread might have some relevant hints: https://github.com/docker/for-win/issues/334#issuecomment-297030101