Ubuntu "Failed to get share list from server: Connection refused" problem solution

It was originally possible, but after installing nginx, Ubuntu cannot connect to shared files.

The following attempts have been made;

  1. Delete nginx and all configurations, close the proxy

  1. Or search for something to install the smbd package or something.

  1. There is also a way to connect to the IP address for mounting.

  1. and open ports

My solution:

Turn off the firewall (although it still works after turning it on again). The guess is that the firewall configuration will be modified when installing nginx.

sudo ufw disable
sudo ufw enable

It's ready to use. It's great.

Guess you like

Origin blog.csdn.net/qq_55542491/article/details/129750292