0
The common problem with microservices is that developing them can be cumbersome if you use AJAX and try to read input from multiuple hosts/ports (due to cross domain requests).
I am looking for a very simple solution that would work with linux (preferably using python or socat) where I can chain few hosts/ports under a single port.
host1:port1/service1 and host2:port2/service2 ... -> localhost:port
All remote hosts/ports can be accessed from the same localhost:port.
The requests should be forwarded based on the paths:
localhost:port/service1 -> host1:port1/service1
localhost:port/service2 -> host2:port2/service2