Get port number in case it was 0 before, after binding