Fix getting address port