ERR_CONNECTION_REFUSED + No SSH or Web Interface Access Ubiquiti Edgerouter

I’ll skip right ahead to the solution, somehow my config file was missing the below lines from the service section, I have no idea how they got removed but upon reboot I had no access to the router.. Luckily I had made a backup of the config before rebooting and was able to find these missing commands and do a hard reset by holding down the¬†push button on the front then upload my config with the following lines back in it. The listen addresses should match your LAN IP addresses.

service {   
    gui {
        https-port 443
        listen-address 10.0.0.1
        listen-address 10.1.0.1
    }
    ssh {
        listen-address 10.0.0.1
        listen-address 10.1.0.1
        port 22
        protocol-version v2
    }

 

Leave a comment

Your email address will not be published. Required fields are marked *