'How to do Domain+port forwarding use tomcat

Is there a way to get a domain + get query with Tomcat and change it to localhost:6440?

Using Tomcat 'https://a.test.co.kr/search?q="Cho Dae Hyeop" is entered, I want it to be searched by 'https://127.0.0.1:6440/search?q="Cho Dae Hyeop".

I need that function because I use an engine that can't use the domain.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source