changed bind port to an int