def get_server_ip_address(self, is_server_mode=False):
    if is_server_mode:
      return socket.gethostbyname(socket.gethostname())
    return '127.0.0.1'
Returns the IP address to use for dnsproxy and ipfw.
dataset/ETHPy150Open chromium/web-page-replay/platformsettings.py/_BasePlatformSettings.get_server_ip_address