conwetlab / ngsi-proxy

Proxy allowing receiving notifications from Orion Context Broker on browser environments
GNU Affero General Public License v3.0
8 stars 9 forks source link

ngsiproxy not running #5

Closed sdhouib closed 6 years ago

sdhouib commented 6 years ago

I have just installed the latest ngsiproxy using this command: docker run --name beincpps-ngsiproxy -d fiware/ngsiproxy The docker container is running properly: docker container ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 9c5ade363d3f fiware/ngsiproxy "/bin/sh -c ngsi-p..." 11 minutes ago Up 11 minutes 3000/tcp beincpps-ngsiproxy

But when trying to access in firefox the address http://localhost:3000 , the ngsiproxy is not responding and the page is not accessible.

Do you have any idea?

Thanks!

aarranz commented 6 years ago

Sorry, docker hub documentation was not finished.

Although the image includes an EXPORT 3000 command, you will need to publish that port on the host if you want to be able to access the service in the way you are indicating. So, if you execute:

docker run --name beincpps-ngsiproxy -d -p 3000:3000 fiware/ngsiproxy

You should be able to access http://localhost:3000 (taking into account that ngsi-proxy does not provide a user interface yet)

sdhouib commented 6 years ago

Thanks!