How to connect to the server by username and password, for example: username:mypassword@localhost:80?

How can I connect to any server via username and password. For example, Memcached username:mypassword@localhost:11211 to connect to the Memcached server password.
July 4th 19 at 23:43

Find more questions by tags HTTPSMemcached