Fixed bug with wrong redirection; changed application port