This question already has an answer here:
eth0: 192.168.0.11 eth1: <irrelevant...> lo: 127.0.0.1
On the same machine:
nmap -p 9866 localhost
Will show that state is open and detects what service that is running
nmap -p 9866 192.168.0.11
Will show that state is closed, but still detects what service is running
Can i route traffic incoming from eth0 192.168.0.11:9866 to 127.0.0.1:9866? I tried with several iptables rules i found from a search on this issue, but it didn't work out.