Access to Home Assistant

If I go to ip:8123 on my mobile phone or my lap top then I will come to the Home Assistant login page. Then it’s great to log in. However, if I go to ip: 8123 from my desktop computer, I will also get to the login page. When I try to log in, it says that it was unable to connect.

Why?