Is your laptop/dekstop with modeler running on the same network as your application? This is needed to connect to an on premise application.
Furthermore you should be able to use the url that you use to acces the application, no port needed(like http://applicationname-prod/debugger/).