Support Questions

Find answers, ask questions, and share your expertise
Announcements
Welcome to the upgraded Community! Read this blog to see What’s New!

Apache Nifi: ListenHTTP - Address already in use Exception

avatar
Explorer

I'm trying to run listenHTTP processor for listening to a webhook notification. 

I'm relatively new to this processor. When I initialize, I observe java.net.bind exception. Address already in use. 

 

nifi url: http://localhost:8080/nifi/    (it has a public IP but we use NATing) 

 

Existing configuration

 

 

Jagapriyan_0-1667812483080.png

 

 

Error Observed

 

Jagapriyan_1-1667812516044.png

 

 

 

2 REPLIES 2

avatar
Expert Contributor

Before starting processor ListenHHTP , please check and make sure port 8888 is not used by any other process at host where nifi service is running.

You can use netstat command to check and confirm. 

 

If you found this response assisted with your issue, please take a moment to login and click on "Accept as Solution" below this post.

Thank you,

Chandan 

avatar
Explorer

Hi @ckumar 

Yes I have verified. The port is not being used. However nifi throws the error. 

Labels