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

MFP 8 连接错误:本地部署MFP服务器后仪表板报错

Hey there, let’s work through that MFP dashboard connection error you’re hitting after logging into your local server. The "Connection error. Contact the server administrator (HTTP code: 1)" message is usually tied to a few common issues, so here are practical steps to debug and fix it:

1. Check CORS Configuration

HTTP code 1 often pops up when cross-origin resource sharing (CORS) rules block your dashboard’s frontend from talking to the MFP backend.

  • Open your MFP server’s configuration files (like server.xml if you’re using WebSphere Liberty) and look for CORS settings.
  • Make sure the origin of your dashboard (typically http://localhost:<port> or https://localhost:<port>) is listed in the allowed origins. For development, you can temporarily set <cors alloworigin="*" /> (don’t do this in production!) to rule out CORS as the culprit.
  • If you’re using the MFP Admin Console, navigate to the server’s security settings to verify CORS permissions.
2. Verify Server Port & Endpoint Accessibility

Double-check that your dashboard is pointing to the correct MFP server endpoint:

  • Confirm your MFP server is running on the expected port (default is 9080 for HTTP, 9443 for HTTPS).
  • Test the backend API directly using curl or Postman. For example:
    curl -k https://localhost:9443/mfp/api/runtime/applications
    
    If this request fails, the issue is with the server itself, not the dashboard frontend.
3. Fix SSL/TLS Certificate Issues (For HTTPS Setups)

Self-signed certificates used in local MFP environments often trigger this error because browsers don’t trust them:

  • Manually import your MFP server’s SSL certificate into your browser’s trusted root certificate store.
  • For quick testing, launch your browser with SSL verification disabled (e.g., Chrome with chrome.exe --ignore-certificate-errors—only do this for local development!).
4. Ensure All MFP Services Are Running

The dashboard relies on multiple backend services; if any are down, you’ll get connection errors:

  • Open your server’s admin console (like WebSphere Liberty’s console at https://localhost:9443/admin) and check that all MFP-related applications are marked as started.
  • Dig into the server logs (e.g., logs/messages.log in Liberty) for startup errors—look for issues like database connection failures or port conflicts.
5. Clear Browser Cache & Cookies

Stale session data or cached endpoints can cause unexpected connection blocks:

  • Clear your browser’s cache, cookies, and local storage, then restart the browser and re-login to the dashboard.
  • Try accessing the dashboard in incognito/private mode to rule out cached data issues.
6. Check Local Firewall & Proxy Settings

Your local firewall or proxy might be intercepting requests to the MFP server:

  • Temporarily disable your local firewall and test the connection. If it works, add an exception for your MFP server’s port.
  • If you use a proxy, make sure localhost is added to the proxy bypass list so requests don’t get routed through the proxy.

If none of these steps resolve the issue, sharing more details like your MFP version, server type (WebSphere Liberty/Tomcat), and relevant server log snippets will help narrow things down further.

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

相关产品推荐
方舟 Agent Plan

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

最近更新时间:2026.05.25 06:44:11