fixes #6599 fix issue with port while a license is applied to a server