Thanks Vinoth, I had this same issue and this was the answer. My user was Admin with full rights, the console was not in read-only mode, I had disconnected and reconnected to the repository, and still the delete port option was greyed out. The solution was to stop the repository first.
Cheers,
Matt