subscribe to our Youtube


14455 questions

17168 answers


0 members

We are migrating to our new platform at Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
142 views 0 comments
by anonymous

Hi All:

We have a RUT950:

root@CORS285:~# cat /etc/version


The dropbear port was changed to 22222 and it works fine, we have ssh access.
When we try and connect to the WebUI we get this:

Bad Gateway

The process did not produce any response

I have checked and double checked the /etc/config/network and /etc/config/firewall files and they are correct.

We have 400 units deployed and this is the only unit doing this.

root@CORS285:~# netstat -a -t -n -p

Active Internet connections (servers and established)

Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name

tcp        0      0 *               LISTEN      2034/dropbear

tcp        0      0    *               LISTEN      2108/uhttpd

tcp        0      0    *               LISTEN      6353/dnsmasq

tcp        0      0   *               LISTEN      2108/uhttpd

tcp        0    336   ESTABLISHED 25658/dropbear

tcp        0      0 :::22222                :::*                    LISTEN      2034/dropbear

tcp        0      0 :::80                   :::*                    LISTEN      2108/uhttpd

tcp        0      0 :::53                   :::*                    LISTEN      6353/dnsmasq

tcp        0      0 :::443                  :::*                    LISTEN      2108/uhttpd

The webservice is running on port 80 with PID 2108.
root@CORS285:~# ps -w | grep 2108
 2108 root      4196 S    /usr/sbin/uhttpd -f -h /www -r CORS285 -x /cgi-bin -u /ubus -t 600 -T 30 -k 20 -A 1 -n 3 -N 100 -D -R -p
Its running.
We've rebooted a few times and it comes up the same.
Any idea on how to fix this?
Other than this, the router is working fine.

1 Answer

0 votes
by anonymous


You could try to create a backup of your current configuration with the command below:

  • sysupgrade -b /tmp/backup.tar.gz

And restart your device to factory defaults using one of the options listed in this page to see if the issue persists, then reupload backup following instructions here using scp/WinSCP.

To restore backup, use WebUI or execute reupload it to the device and execute command below:

  • sysupgrade -r /tmp/backup.tar.gz

You can try and update your device's firmware to 6.9.2 or later, if your device supports it, via SSH following these instructions.

Otherwise, I would like you to get a troubleshoot file from the device. Login to the device via SSH, execute the command below:


Download the file using scp/WinSCP from /tmp directory and attach it by editing your question. The logs in the file might provide more details into the issue.

Best regards,