Skip to content
This repository was archived by the owner on Mar 28, 2025. It is now read-only.
This repository was archived by the owner on Mar 28, 2025. It is now read-only.

Getting Connection Refused to local MLLP Server #12

@stewart-anderson

Description

@stewart-anderson

I am running the docker image it starts with the default command line in getting started, but when I add arguments to connect to a MLLP server (localhost) it fails with a connection refused errro.

I have tried sending messages to a 7edit Receive anda mirth connect listener channel.

It gets the same from both. I can send and receive between Mirth and 7edit no problems, so im sure its not a connection issue.

This is the command line: docker run --rm -it -p 8000:8000 eu.gcr.io/simhospital-images/simhospital:latest health/simulator -output mllp -mllp_destination localhost:6661 -mllp_keep_alive true

and this is the error:

FATA[2023-05-18T11:08:15Z] Cannot create Hospital Runner error="cannot create default hospital config: cannot create the sender: cannot establish mllp connection on sender &{client: conn: address:localhost:6661 mllpKeepAlive:true mllpKeepAlivePeriod:60000000000 count:0}: cannot connect to tcp address localhost:6661: dial tcp 127.0.0.1:6661: connect: connection refused" prefix=cmd/simulator source="main.main(cmd/simulator/simulator.go:134)"

Thx

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions