How to do the challenge with a different port?

I’m basically looking for the equivalent of:

Port Usage

By default lego assumes it is able to bind to ports 80 and 443 to solve challenges. 
If this is not possible in your environment, you can use the --http and --tls options to instruct lego to listen on that interface:port for any incoming challenges.

in lego: