Localport should be an int