Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Support Questions

Find answers, ask questions, and share your expertise
Announcements
Share your experience with Cloudera on G2 and get a $25 Amazon Gift card.
Hi, I'm CLEO! Something exciting is coming to the Community. Stay Tuned!

Apache Nifi is not starting: Management Server Address System Property

avatar
Explorer

I am new to nifi trying to install it but when I run command nifi.cmd start I get this:

JAVA_HOME=C:\Program Files\Java\jdk-21
NIFI_HOME=C:\nifi-2.7.2-bin\nifi-2.7.2

but it doesn't write that "nifi has started" when I checked the log file it has the following:

nar\extensions\nifi-server-nar-2.7.2.nar-unpacked\NAR-INF\bundled-dependencies\nifi-ui-2.7.2.war] Context Path [/nifi]
2026-01-17 19:26:53,803 INFO [main] org.apache.nifi.web.server.JettyServer Loading WAR [C:\nifi-2.7.2-bin\nifi-2.7.2\.\work\nar\extensions\nifi-server-nar-2.7.2.nar-unpacked\NAR-INF\bundled-dependencies\nifi-web-api-2.7.2.war] Context Path [/nifi-api]
2026-01-17 19:26:53,810 INFO [main] org.apache.nifi.web.server.JettyServer Loading Docs [C:\nifi-2.7.2-bin\nifi-2.7.2\docs] Context Path [/nifi-api]
2026-01-17 19:26:53,813 ERROR [main] org.apache.nifi.runtime.Application Start Server failed
java.lang.IllegalStateException: Management Server Address System Property [org.apache.nifi.management.server.address] not valid [127.0.0.1:?????]
at org.apache.nifi.runtime.ManagementServerProvider.getManagementServer(ManagementServerProvider.java:51)
at org.apache.nifi.runtime.Application.startServer(Application.java:128)
at org.apache.nifi.runtime.Application.run(Application.java:78)
at org.apache.nifi.runtime.Application.run(Application.java:60)
at org.apache.nifi.NiFi.main(NiFi.java:42)

I already added the "org.apache.nifi.management.server.address=127.0.0.1:9990" in properties file but that didn't work too what I should do ?

1 ACCEPTED SOLUTION

avatar
Expert Contributor

@Runa27 

management.server.address -- defines HTTP URL on which NiFi listens for management requests.
Doc Ref : https://nifi.apache.org/nifi-docs/administration-guide.html

Please try setting below property as part of " bootstrap.conf " and then start the Nifi service.
java.arg.mng12=-Dorg.apache.nifi.management.server.address=127.0.0.1:<port-number>

Please check if the port-number <for example: 9990> is not defined and replace the same in the property 

Please help our community grow. If you found any of the suggestions/solutions provided helped you with solving your issue or answering your question, please take a moment to login and click "Accept as Solution" on one or more of them that helped.

ThankYou,
Hari

View solution in original post

2 REPLIES 2

avatar
Community Manager

@Runa27, Welcome to our community! To help you get the best possible answer, I have tagged our NiFi experts @MattWho, @vafs, and @haridjh, who may be able to assist you further.

Please feel free to provide any additional information or details about your query. We hope that you will find a satisfactory solution to your question.



Regards,

Vidya Sargur,
Community Manager


Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Learn more about the Cloudera Community:

avatar
Expert Contributor

@Runa27 

management.server.address -- defines HTTP URL on which NiFi listens for management requests.
Doc Ref : https://nifi.apache.org/nifi-docs/administration-guide.html

Please try setting below property as part of " bootstrap.conf " and then start the Nifi service.
java.arg.mng12=-Dorg.apache.nifi.management.server.address=127.0.0.1:<port-number>

Please check if the port-number <for example: 9990> is not defined and replace the same in the property 

Please help our community grow. If you found any of the suggestions/solutions provided helped you with solving your issue or answering your question, please take a moment to login and click "Accept as Solution" on one or more of them that helped.

ThankYou,
Hari