Fix for no localhost address from JAVA (happens in NUS wireless network)