UPnP message is harmless, just tells you that your router is either not reachable or doesn't have UPnP enabled (Apple routers don't support it, for example).
Quite a few routers also don't allow internal loopbacks -- that is, connecting to an external IP pointing to a local machine. For example if my local IP is 192.1.1.10 and external one is 24.24.24.24, and I have one of those routers, then I won't be able to connect to myself using 24.24.24.24, but will be able to using 192.1.1.10 and 127.0.0.1.
You'll need to provide some more information as to how you are connecting, where the server is hosted, and what IP you're using.