Links - Local vs Server

Hi.

When I do a navigateToURL…

Testing on my machine it doesn’t work, but when I upload it to the server, it works with no problem.

What can I do to test it on my machine?

Thanks.