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

nc: connect to host1 port 8200 (tcp) failed: Connection refused while success on host2 #12321

Closed
patpatpat123 opened this issue Dec 30, 2023 · 1 comment
Labels

Comments

@patpatpat123
Copy link

Hello team,

I would like to report an issue using apm server.

For the setup, I have two different hosts. By host here, I am referring to two different hardware. For later, I am going to call the first hardware host1, and the second hardware host2.

While installing elastic + apm server, version 8.11.3, using this link https://www.elastic.co/downloads/apm

I then start elasticsearch with security disabled (I do understand the risk of disabling security) and then start apm server using the command ./apm-server -e on host1

I then run nc -zv directly within host1, and get a success on port 8200.

However, when using another host2 (host where the application supposed to send traces to apm server) is trying to connect to apm server, I am always getting connection refused.

Running nc -zv from host2 (application) to host1 (apm), I am always getting nc: connect to host1 port 8200 (tcp) failed: Connection refused

While, from within host1, port 8200 seems to be up.

Hence, I would like to report this issue, it seems application needs to reside within the same host as apm server, which is quite a drawback.

Thank you

@simitt
Copy link
Contributor

simitt commented Jan 4, 2024

@patpatpat123 this is not a confirmed bug, please open a topic in the discuss forum instead.

@simitt simitt closed this as completed Jan 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants