i need a java program to get the IP address of the computer that its running on.
i've tried using the getlocaladdress on a connected socket but it gives me back 127.0.0.1, i need the actual IP address.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.