My app runs on a jetty server. I access it via http://localhost:8080. My problem is that Page.getCurrent().getWebBrowser().getAddress()
returns 0:0:0:0:0:0:0:1
instead of something like 127.0.0.1
as stated in the javadoc:
/**
* Gets the IP-address of the web browser. If the application is running
* inside a portlet, this method will return null.
*
* @return IP-address in 1.12.123.123 -format
*/
public String getAddress() {
return address;
}
Anyone has a clue what happens here?