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

Cannot remap port 8000 using Docker #20

Open
aaronhmiller opened this issue Feb 20, 2020 · 0 comments
Open

Cannot remap port 8000 using Docker #20

aaronhmiller opened this issue Feb 20, 2020 · 0 comments

Comments

@aaronhmiller
Copy link

$ docker run --name some-kaazing-gateway -h somehostname -e GATEWAY_OPTS="-Dgateway.hostname=somehostname -Xmx512m -Djava.security.egd=file:/dev/urandom" -d -p 8000:8000 kaazing-gateway

Works fine.

However, when attempting to remap 8000 to say 8050, it will fail. Any port other than 8000 will fail.

$ docker run --name some-kaazing-gateway -h somehostname -e GATEWAY_OPTS="-Dgateway.hostname=somehostname -Xmx512m -Djava.security.egd=file:/dev/urandom" -d -p 8050:8000 kaazing-gateway

Doesn't seem like the container is obeying the port remapping.

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

1 participant