Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting Connection Refused to local MLLP Server #12

Open
stewart-anderson opened this issue May 18, 2023 · 0 comments
Open

Getting Connection Refused to local MLLP Server #12

stewart-anderson opened this issue May 18, 2023 · 0 comments

Comments

@stewart-anderson
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant