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

cannot connect to logstash on port 5044 #178

Closed
lakerzhou-lenovo opened this issue Oct 10, 2017 · 4 comments
Closed

cannot connect to logstash on port 5044 #178

lakerzhou-lenovo opened this issue Oct 10, 2017 · 4 comments
Labels

Comments

@lakerzhou-lenovo
Copy link

I am testing the master ES version 5.6.2. My remote filebeat cannot access logstash via port 5044. I recommend enable 5044 port forwarding by default by adding the following line in logstash section at docker-compose.yml.
"5044:5044"

@antoineco
Copy link
Collaborator

antoineco commented Oct 10, 2017

Not sure if that would be relevant, we don't have anything listening on TCP port 5044 by default.

input {
tcp {
port => 5000
}
}

@MarStarck
Copy link

maybe occupied by other program: try netstat -anp | grep 5044

@antoineco
Copy link
Collaborator

@lakerzhou-lenovo I would recommend following @MarStarck advice and track which program is listening on that port. If that's Logstash it would mean you configured a custom input, which makes that port only relevant within your setup.

@ricksilvab
Copy link

Hi, if you are using logstash with docker, try to make your port available for the other applications which are not in your container.
You can use the flag -p 5044 when you are installing the docker.
For example:

docker run -d --name logstash
-p 5044:5044
--restart=always
-e "XPACK.MONITORING.ELASTICSEARCH.URL=http://ELASTIC_IP:9200"
docker.elastic.co/logstash/logstash:7.0.0

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

4 participants