26 Oct 2022
01:25 AM
- last edited on
27 Oct 2022
03:36 AM
by
MaciejNeumann
Hi, I installed easyTravel on a centos on azure.
I would like that the loadgenerator is presented to the app towards the public IP instead of localhost.
Is this possible?
This would save me from doing manual traffic and creating synthetics to simulate it (needs to feed data for a SLO example for a customer)
Regards,
Davide
Solved! Go to Solution.
Hi @_davidemascolo perhaps I'm missing the point here but you don't need a public IP for the load generator to work.
Also, if there is a OneAgent installed on the host, it will capture all the requests and you should also get RUM data.
Hi @andre_vdveen, you are right but I want the load generator to use another IP (the public IP) instead of localhost.
This helps me to differentiate the traffic of my easyTravel instance from that of other colleagues (outbound traffic from all running easyTravel instances would result in a "localhost domain" in My Web Application and the first one to create an application will take all the traffic)
Regards,
Davide
Right, got it! Makes sense 🙂
So, you should be able to set the IP address in the easyTravelConfig.properties file.
Look for the entry config.apacheWebServerHost for the Apache component - change localhost to your public IP and see if that works if you start the UEM -> Standard scenario up. It works for my setup on Windows, changing localhost to my local IP address, so I don't see why it won't work using a public IP, granted the correct firewall rules are in place, of course for remote access 🙂
I also updated localhost for the config.apacheWebServerB2bHost entry to my local IP address.
Let me know if the changes work for you.