Tag Info

New answers tagged

1

After some experimentation I was able to find the minimum required ports to resolve the agent-state: pending problem. Juju uses port 22 (ssh), juju state server uses port 17070, jujud uses port 8040. I am told this may not work with Juju set up in an HA mode because that uses different ports. Allowing these ports in ufw: $ sudo ufw status Status: active ...


0

This is what I did to clean it up, if ufw is enabled, disable it. Then remove all of the ufw rules from iptables and ip6tables. #! /usr/bin/env bash set -e set -o pipefail iptables --flush rules=($(iptables --list | grep Chain | grep -Eo "ufw-[a-z-]+" | xargs echo)) for i in "${rules[@]}" do iptables --delete-chain $i done ip6tables --flush ...


-3

It's not exactly a solution, but you probably don't need to reboot you computer, just try to restart your networking service! Your software may be causing some exceptions to occur on your machine, that will later block the port! When that happens again try this! sudo service networking restart #sudo /etc/init.d/networking restart #the old fashioned way ...



Top 50 recent answers are included