Modifying port for application.