prevent user selecting legacy port as alternative for web socket port