Preview pane "refused to connect" / "took too long to respond" — external proxy not routing traffic

Issue: The preview pane shows “refused to connect” or “took too long to respond” even though the server is running and responding correctly on the configured ports.

What I’ve verified:

  • Server listens on 0.0.0.0:5000 (backend) and Expo dev server on port 8081 (frontend)
  • Both ports confirmed open via /proc/net/tcp and respond HTTP 200 to curl from inside the container
  • curl to the external dev domain FROM INSIDE the container returns HTTP 200 (routes through internal proxy at 127.0.0.2)
  • But the same URL from my browser returns ERR_CONNECTION_REFUSED — external traffic never reaches the container
  • Zero HTTP requests appear in server logs from the preview pane

What I’ve tried:

  • Multiple port configurations (3000, 5000, 8081)
  • Various workflow configs (single, parallel, with/without metadata)
  • Removing and recreating workflows through the UI
  • Hard refresh (Ctrl+Shift+R) of the workspace
  • Killing all processes and restarting
  • Restoring the original working .replit config from git history

The internal proxy works but the external proxy (routing browser traffic to the container) appears broken for this repl. This started after the Replit agent made several port
configuration changes in rapid succession. I believe the external proxy state is corrupted and needs to be reset on your end.