Closed kKen94 closed 4 years ago
@kKen94 Express gateway server listens on port 8080. Express gateway sits in front of http://localhost:3001, To use the service of the gateway you have to call 'http://localhost:8080' instead of 'http://localhost:3001'.
Thanks for the quick response @MohammadWasi
Yes, I missed to write that I have bad gateway if I call localhost:8080/ip with httpbin: url: 'http://localhost:3001'
I create Express Gateway with option "Getting Started with Express Gateway", and this is gateway.config.yml
I simply change
url: 'https://httpbin.org'
tourl: 'http://localhost:3001'
and i have or Bad Gateway or other error.If I call localhost:3001 directly i have the response of my service