Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Can Launch Apache NiFi on Windows Laptop

avatar
Contributor

Im trying to run Apache NiFi on my laptop. I can start the run-nifi.bat But when I try to access http://localhost:8443/.  "This page isn’t working localhost didn’t send any data. ERR_EMPTY_RESPONSE"

On the same laptop, I'm accessing different NiFi instances running on AWS. With different ports (Production).

System: Windows10

Please help to connect

1 ACCEPTED SOLUTION

avatar
Expert Contributor

I wonder what java version you have on your Windows machine?

NiFi supports java 8 and 11

View solution in original post

4 REPLIES 4

avatar
Expert Contributor

First confirm if the NiFi JVM is running

search your logs for the word "UI is available"

If it is then I would look at your systems firewall windows defender?

If you do not see that log entry I would focus on why NiFi JVM is not coming up

avatar
Contributor

This is the error im observing

 

ERROR [main] org.apache.nifi.NiFi Failure to launch NiFi due to org.xerial.snappy.SnappyError: [FAILED_TO_LOAD_NATIVE_LIBRARY] Unable to make protected final java.lang.Class java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain) throws java.lang.ClassFormatError accessible: module java.base does not "opens java.lang" to unnamed module @4ec616d6 Got this error

avatar
Expert Contributor

I wonder what java version you have on your Windows machine?

NiFi supports java 8 and 11

avatar
Contributor

I have installed latest version of Java and NiFi. Now it works. Thanks for the suggestion.