how to get IP address (eth0)
Asked by
patikal
I want to get the IP address of my machine (static LAN address configured for eth0) in java. The following code on Windows works, but not on UBUNTU. Any setup in UBUNTU needed?
String IpAddress = (InetAddress.
shankar
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask patikal for more information if necessary.
To post a message you must log in.