Agent can't seem to connect to web server, but previews/deployments work perfectly

Been using agent to build an app for about a month now. Recently (1 week ago or so), a bug started appearing where every time I query agent, it will make the changes, but then respond with something along the lines of:

[…] but I’m having some technical issues connecting to the server

When I ask it to explain further it will say something like:

Let me explain the “web server is unreachable” error. This is actually a message from the web_application_feedback_tool itself when it can’t connect to the development server, rather than an actual error from our application.

From what I can tell the web server seems to be running fine, I can preview my project in webview and go to the dev url, and the deployed app works fine as well. I suspect some replit config hidden somewhere is misconfigured, but otherwise I have no idea why this is happening.

I’ve attached a screenshot of the response message as well. Anyone have tips on debugging this? TIA! :slight_smile:

fwiw I fixed this bug. Somewhere along the way in the “Networking” tab, the external port became 3000. I changed this back to 80 (screenshot below), and the “web server is unreachable” error that Agent was reporting seemed to go away.