as the title mention, how i can change the java listening interface from localhost to IP address.
since this command netstat -tulpn
shows:
tcp 0 0 127.0.0.1:7778 0.0.0.0:* LISTEN 23958/java
I want to change 127.0.0.1 for example to 192.168.1.1 without using sockets, for example to specify it in java configuration files or in jade files.
I want to do that in order to make that port reachable to allow the migration of mobile agent from remote machine to this machine.
The problem was in the configuration in my /etc/hosts. so i solve it by configure it correctly