Fabric icon indicating copy to clipboard operation
Fabric copied to clipboard

[Question]: Wondering if anyone can assist me with this error: proxy error Error: connect ECONNREFUSED ? TIA

Open RAG3T opened this issue 8 months ago • 2 comments

What is your question?

After reading the documentation, I am still not clear how to get the webUI working. I tried this, changing the port to 8081 and that didnt work. I have a docker process that also runs on port 8080 but it seems to be not effected

RAG3T avatar Mar 28 '25 23:03 RAG3T

Here is the error message for port 8081: proxy error Error: connect ECONNREFUSED 127.0.0.1:8081 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1549:16) at TCPConnectWrap.callbackTrampoline (node:internal/async_hooks:128:17) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 8081

RAG3T avatar Mar 28 '25 23:03 RAG3T

@RAG3T The error ECONNREFUSED 127.0.0.1:8081 indicates that the frontend is trying to connect to a backend server on port 8081, but the backend server is not accessible (e.g., not running, blocked by firewall, or misconfigured).

Start server in separate terminal from web folder ./fabric --serve or fabric --serve

Look in vite.config.ts Verify the backend URL is correct eg 8081in your case.

jmd1010 avatar Apr 11 '25 15:04 jmd1010