I've spent most of the afternoon trying to get my newly-installed Neo4J environment to show that it's able to either support the example movie project or at least let me run cypher queries against the underlying database. So far, I'm hitting blank walls and what seems to be circular documentation.
I want to see the movie project running inside a conventional web browser (Chrome or Firefox). Failing that, I want to at least be able to run curl scripts or any other shell command line so that I can see results from cypher queries.
So far, I'm getting nowhere. I've installed Neo4J 4.0.0, using yum (according to the directions). I've confirmed (using systemctl) that it's running. I think it's listening on 7474, and I think that "Bolt" (whatever that is) is listening on 7687. At least, that's what I see in the neo4j logs.
I've opened port 7474 using firewall-cmd. The guest VM has httpd running on port 80, and I can access that from a browser running on the Windows 10 host. When I attempt to connect to either port 7687 or port 7474 from the browser, the browser complains that it is unable to connect. I've turned off authentication in neo4j.conf, and turned on the "7474" line. Those are the only changes I've made. I've confirmed that various directories are all present. The guest VM is running the desired version of Java. The guest VM has a valid IP address (192.168.242.128) and is accessible via ping from the host. According to netstat (on the guest), port 7474 is available and java is listening on that port.
I'm able to get a little bit of life from wget in an SSH shell on the guest:
$ wget http://localhost:7474/
--2020-02-25 19:08:16-- http://localhost:7474/
Resolving localhost (localhost)... ::1, 127.0.0.1
Connecting to localhost (localhost)|::1|:7474... failed: Connection refused.
Connecting to localhost (localhost)|127.0.0.1|:7474... connected.
HTTP request sent, awaiting response... 200 OK
Length: 216 [application/json]
Saving to: ‘index.html’
The resulting index.html contains some moderately interesting JSON:
{
"bolt_routing" : "neo4j://localhost:7687",
"transaction" : "http://localhost:7474/db/{databaseName}/tx",
"bolt_direct" : "bolt://localhost:7687",
"neo4j_version" : "4.0.0",
"neo4j_edition" : "community"
}
I see various references to "neobrowser" -- that's not helpful, because I don't run desktop tools on the guest VM.
I'm hoping someone can help me get through this bottleneck. In a more perfect world, there would be a "DigitalOcean"-style tutorial that provides a step-by-step recipe that starts from nothing, installs Neo4J, does whatever configuration is needed, and ends up with the movie database example running in a browser (Chrome or Firefox) running on the host system.
I'm installing this in a CentOS 7 guest vm running on a vmware hypervisor on a reasonably robust Windows 10 pro host system. So far as I know, I have ample RAM, disk, network bandwidth, CPU cycles, and so on.
I appreciate your patience with my newbie stumbles.