Available protocols and prefix list empty under server addresses

When I tried to connect another Ubuntu pc by using Samba. But when I go to ‘connect to server’ I can see any available protocols list, and I can’t use any protocol either. How can I fix this issue?

enter image description here