mlibbey commented on issue #9526:
URL: https://github.com/apache/trafficserver/issues/9526#issuecomment-1472444951

   Well, only 1 server can listen to a port -- your proposed ATS server_ports 
string seems correct, but then you'd need to change your httpd ports 
(https://httpd.apache.org/docs/2.4/bind.html ?) so that the 2 servers are not 
competing. Then, in your proposed map rules, you'd change the second half to 
the new httpd ports.
   
   It might be clearer to folks (or future you) if your destination was 
something like http://localhost/ or http://127.0.0.1. Eg, when I see `map 
http://example.com http://127.0.0.1:8443` its clear to me that there is another 
process on this machine that is listening to 8443; whereas `map 
http://example.com http://example.com:8443` would make me go look at 
parent.config, and dns lookups and more to try to figure out how it works. 
(having the IP would also remove a DNS lookup from the transaction)
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to