You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

EA Pro Cloud服务器配置:webea.config.ini需添加什么以浏览器访问数据库?

Configuring webea.config.ini for EA Pro Cloud Database Browser Access

Alright, let's break this down for you since you've already got your EA Pro Cloud server up and running with client connectivity and a database link established—great job getting that far! To enable cloud browser access to your database content, here are the key configuration entries you need to add/update in your webea.config.ini file, organized by section:

Core Database Connection Section ([Database])

This section ensures the WebEA service can communicate with your connected EA repository database:

  • DBType: Specify your database engine (e.g., SQLServer, Oracle, MySQL, PostgreSQL) to match your existing database connection.
  • ConnectionString: The full connection string for your EA repository database. Use the same credentials/address that your client uses to connect, formatted for your specific database type.
  • Enabled: Set to True to activate database access via the web service.

Example:

[Database]
DBType=SQLServer
ConnectionString=Server=your-db-server-ip;Database=EA_Repo_DB;User Id=ea_db_user;Password=your-secure-password;
Enabled=True

Web Access Configuration Section ([WebEA])

This section controls how the cloud browser interacts with the WebEA service:

  • AllowDatabaseAccess: Set to True to explicitly enable browser-based database content viewing and access.
  • Port: Define the port your cloud browser will use to connect (common choices are 80 for HTTP or 8080; use 443 if enabling HTTPS). Make sure this port is open in your cloud server's firewall/security group.
  • SessionTimeout: Set a timeout (in minutes) for browser sessions (e.g., 30 to auto-logout inactive users).
  • EnableHTTPS (optional but recommended): Set to True to secure browser connections, then add paths to your SSL certificate files.

Example:

[WebEA]
AllowDatabaseAccess=True
Port=8080
SessionTimeout=30
EnableHTTPS=True
SSLCertificatePath=/opt/ea-pro/cloud/certs/webea-cert.pem
SSLCertificateKeyPath=/opt/ea-pro/cloud/certs/webea-key.pem

Permissions & Security Section ([Permissions])

Lock down access to ensure only authorized users can view database content:

  • AuthRequired: Set to True to enforce user authentication (matches EA's internal user roles).
  • AllowPublicAccess: Set to False to block unauthenticated access (never set this to True for production environments).
  • AllowedRoles: List EA user roles permitted to access the database via the browser (e.g., Admin,PowerUser,Editor).

Example:

[Permissions]
AuthRequired=True
AllowPublicAccess=False
AllowedRoles=Admin,PowerUser

Post-Configuration Steps

After updating the webea.config.ini file:

  1. Save the changes and restart the WebEA service on your cloud server (the exact command depends on your OS, e.g., sudo systemctl restart webea for Linux).
  2. Test access by navigating to http://your-cloud-server-ip:port (or https:// if you enabled HTTPS) in your cloud browser.
  3. Verify you can authenticate and view the repository database content.

内容的提问来源于stack exchange,提问作者golu kashyap

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.20 10:25:16