Local server not working in chrome


when using the Chrome extension with the local server, I get the following error:

Sorry, something went wrong while checking your text. Restarting your browser might solve this. (404)

Restarting the browser does not help. Sometimes a reboot of my laptop works, but also not always. When using Firefox, everything works fine. Any idea what there could be wrong?

I’m on macOS, and installed and started the local server as described in the documentation with brew services start languagetool