I have a laptop running Ubuntu and a desktop running Arch. I'm working out a project (non-curricular) which requires getting a Java serve application to connect to a client application.
I have a test program written and running for the server, but when I try the client, I just get an UnknownHostException.
I tried pinging my desktop and it worked fine, but when I tried:
Code:
nslookup 192.168.0.49
I just got:
Code:
Server: 127.0.0.1
Address: 127.0.0.1#53
** server can't find 49.0.168.192.in-addr.arpa.: NXDOMAIN
I also tried host and got:
Code:
Host 49.0.168.192.in-addr.arpa. not found: 3(NXDOMAIN)
I really don't understand what's going on.
Also, why is it printing my ip backwards?
Edit: I managed to get the program working by using my ip address instead of my host name