Skip to content

Can't connect to Rabbit web server #2

@edenworky

Description

@edenworky

I install the dependencies and run it like so in the repl:

(require '[flowmaps.web :as fweb])
(fweb/start!)

It prints [:*web "starting flowmaps web ui debugger @ http://localhost:8080" "🐇"] and returns true, and I can see the java process listening on :8080, but when I try to access the server by visiting http://localhost:8080 the jetty server responds with:

Content-Type	application/json
Date	Fri, 09 Feb 2024 19:35:25 GMT
Server	Jetty(8.1.14.v20131031)
Transfer-Encoding	chunked

With JSON content:

{"error":"null for uri: http:\/\/localhost:8080\/"}

Not sure if I'm doing anything wrong here, I'm a bit new to Clojure. My project uses ring with no problems, so it's not some weird environmental java<->local_network jank.

(By the way, apparently the server process listening on :8080 doesn't shut down when I kill the repl with Ctrl+D, not sure if that's related)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions