method

set_valid_ip

set_valid_ip(*ip_addr)
public

Specifies the valid IP addresses that are allowed to connect to the server.

Each IP is either a String or a Regexp.