'How can I access on Portainer from another pc on Ubuntu?

I recently downloaded Ubuntu (latest version) on my older Laptop. Then I installed Docker and Portainer. Now I want to access the Portainer Overlay from another PC in the same network, but the browser just timeouts. When I try to access Portainer on the PC where it's running, it works. I am connected to the network with both PCs, and I'm not using the Localhost for accessing. I guess there is something wrong with the network permissions, so this is why I can't enter Portainer, but I don't know how to change it.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source