AnsweredAssumed Answered

How to bind a service on a specific interface ?

Question asked by gruch on Mar 22, 2017
Latest reply on Mar 22, 2017 by gruch

Hi all,

 

I need to publish the same service from different environment on the same IP Gateway. I need to bind the tow different publishing on specific IPs or interface.

 

I would like to have something like :

- eth0 : 192.168.1.100:8080/myservice/hello --> Test backend

- eth1 : 192.168.1.101:8080/myservice/hello --> Preproduction backend

 

I do not want to reach Test from the 192.168.1.100 neither to reach Preproduction from the other interface.

 

I was able to bind specific IPs on specific port but all services are available on both interfaces... I'll need help !

 

Thank you in advance for your help,

Regards,

Greg

Outcomes