Changing response after failed search condition and updating backend and frontend default ports