Behavior with local/distant address

So far, I used 2 addresses for Habdroid (local and distant one). Both where targeting ports (such as mylocal.home:8080 for local and mydistant.domain:8081 for distant one).
As I set up nginx reverse proxy, I started to use native 80 port for local calls. My local address became mylocal.home and habdroid never caught it again, always trying to reach the distant one.

Is the application guessing about ports that if 80 is used, it is distant address only? Or Am I missing any point here?

Thanks for your feedbacks.


What happens if you use mylocal.home:80?

Thanks for your reply. I already tried this without success, same behavior.