open-port: command not found

Akshat Jiwan Sharma akshatjiwan at
Sun Oct 22 18:21:15 UTC 2017


I'm trying to manually expose a port on a juju machine. According to this
I should be able to do something like this:-

 juju run  "open-port 443" --all

However when I type this in my shell it throws an error

open-port: command not found

I can verify that the application on this particular controller is already
exposed and it thus satisfies the requirement for running this command.

>"The port range will only be open while the application is exposed."

Can you help me understand what I'm doing wrong?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Juju mailing list