bind to correct port