# Installing x-pack on logstash 5.6.6 fails

**URL:** https://discuss.elastic.co/t/installing-x-pack-on-logstash-5-6-6-fails/121117
**Category:** Logstash
**Created:** [February 22, 2018, 7:20pm UTC](https://discuss.elastic.co/t/installing-x-pack-on-logstash-5-6-6-fails/121117 "2018-02-22T19:20:32Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![zubinr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zubinr/32/99020_2.png) [@zubinr](https://discuss.elastic.co/u/zubinr)
#### Post date: [February 22, 2018, 7:20pm UTC](https://discuss.elastic.co/t/installing-x-pack-on-logstash-5-6-6-fails/121117/1 "2018-02-22T19:20:33Z")

</div>

I am trying to install x-pack on logstash 5.6.6

```
/usr/share/logstash/bin/./logstash-plugin install x-pack
Error: Exception thrown by the agent : java.rmi.server.ExportException: Port already in use: 2026; nested exception is:
	java.net.BindException: Address already in use (Bind failed)

cat /etc/services | grep 2026
scrabble 2026/tcp #
scrabble 2026/udp #

```

Is there a way to change the default port that x-pack uses?

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [March 22, 2018, 7:20pm UTC](https://discuss.elastic.co/t/installing-x-pack-on-logstash-5-6-6-fails/121117/2 "2018-03-22T19:20:50Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
