open-port: command not found

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


HI,

I'm trying to manually expose a port on a juju machine. According to this
answer
<https://askubuntu.com/questions/808176/how-to-manually-open-a-port-in-juju>
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?

Thanks,
Akshat
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20171022/bd885d22/attachment.html>


More information about the Juju mailing list