tokenize port, backend and realm