Fixed Issue with ports