DEV Community

Cover image for Configure the agent
liu yang
liu yang

Posted on

Configure the agent

DevEco Studio Network Configuration Guide

DevEco Studio relies on a network connection for proper functionality.

When to Configure a Proxy

  • Personal/Home Networks: Typically, no proxy configuration is needed.
  • Enterprise Networks: Proxy settings may be required due to network restrictions.

Diagnosing the Development Environment

  • On the welcome page, click Diagnose.
  • If in a project, go to Help > Diagnostic Tools > Diagnose Development Environment.

Image description

Configuring the Proxy

  1. Access Proxy Settings:
    • From the welcome page: Customize > All Settings… > Appearance & Behavior > System Settings > HTTP Proxy.
    • If in a project: File > Settings > Appearance & Behavior > System Settings > HTTP Proxy (or DevEco Studio > Preferences for macOS).
  2. HTTP Proxy Configuration:
    • Host Name: Proxy server's hostname or IP.
    • Port Number: Proxy server's port.
    • No Proxy For: URLs/IPs to bypass the proxy (separate with commas).
  3. Proxy Authentication (if required):
    • Login: Username for proxy access.
    • Password: Password for proxy access.
    • Remember: Check to save credentials.

Image description

Verifying the Connection

After configuration, click Check Connection and enter a URL (e.g., https://developer.huawei.com). A "Connection successful" message confirms the proxy is correctly set up.

Top comments (0)