Hello, I am going to set up Tyk on Promises in my Server. I have some questions to be sure that it will work as intended. The thing is that I have many applications running on differents ports of my server and I have asigned a Domain for each of them, and I use Caddy Server to proxy between them, until now it’s working great. I have something like this:
Application1 running on port 7000 -> theapplicationX.com
Application2 running on port 8000 -> theapplicationY.com
Application2 running on port 8100 -> theapplicationZ.com
MyRestAPI running on port 8200 -> MyRestAPI.com
I want to monitor MyRestAPI with Tyk, that’s the idea. Briefly all the traffic is received by port 80 and 443 and depending of the domain name Caddy send the petition to the correspondant application. Now, these are my questions:
- I know that I have to install Tyk Gateway and Tyk Dashboard, do I need to assign a domain for each one of them? and register them in Caddy?
- I saw in the installation instructions of Tyk Gateway that I have to provide
--listenport=8080
in the documentation says that it is: “Tyk should listen on port 8080 for API traffic.” So, here should I put 8200 instead 8080 because my API is running in that port? if not, then how Tyk check for petitions of my API? - Can be a problem to have applications that I will not monitorize running in the same server?
- When I finish install and configure Tyk, I should use my API with MyRestAPI.com ?
I think that’s all for now, I just want to be sure that my current server configuration will not give me problems. Thank you!