Are you connecting to the server directly? Is there any proxy in the middle?
Directly (no local proxies).
But NOW I remember that the method worked.
Also, yesterday I helped someone to install XAMPP on his PC (not in my lan) and... I discovered that NOW I have some problem, an example web site on my pc is not reachable and when I try to access it, simply using a browser and
HTTP://[MyRouterIP] /FolderSite... the "router administration home page" is shown!
I think this is a different problem, because the b4j websocket server is reachable on its port. Apache is as usual listening on ports 80 and 443 and I have disabled my firewalls (also the firewall of the router).
Ok, I will open a new thread for this, unless you do not think that the two things can be related.
The important thing is that the method works (worked here) so no problem with jServer.
Thank you
P.S. I wrote badly my question, moreover, because I should specify that the IP returned is not my pc (b4j server) IP but the router external IP.