Is it possible to change a port in which an application uses?

For example
I open up an app and it opens up Port 15732
But I want it to use Port 15731
Is this possible to create some type of proxy that the application redirects to? :S