How do you configure (change) the default ports for Dgraph alpha and zero?

The documentation only lists the --port_offset flag to change the ports. Changing ports via the offset only affects the external ports - using port_offset causes the services to still attempt to connect to 5080 / 7080 (I end up with infinite retrying of those ports and the associated connection refused errors).

i have the same problem in this session , it retry connection to the port many times ,i install the dgraph client in my ubuntu server , have you got any methods to solove this problem now ?