Robert is exactly right. And changing the port is done in your project settings:
Are you running two instances of Mendix at the same time? If so, you have them bound to the same port.