PwC Interview Question

How would you secure port 80, 22, etc.