Port binding code is added.