Skip to content

Commit 3333e3e

Browse files
Update steps on how to recover pswd (#1802)
1 parent bbae8b5 commit 3333e3e

File tree

1 file changed

+9
-16
lines changed

1 file changed

+9
-16
lines changed

modules/ROOT/pages/authentication-authorization/password-and-user-recovery.adoc

Lines changed: 9 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -25,28 +25,20 @@ bin/neo4j stop
2525
----
2626
dbms.security.auth_enabled=false
2727
----
28-
+
29-
[NOTE]
30-
====
31-
It is recommended to block network connections during the recovery phase, so users can connect to Neo4j only via `localhost`.
32-
This can be achieved by either:
3328

34-
* Temporarily commenting out the `server.default_listen_address` parameter:
35-
+
36-
[source, properties]
37-
----
38-
#server.default_listen_address=<your_configuration>
39-
----
40-
41-
or
42-
43-
* Providing the specific localhost value:
29+
. Block network connections during the recovery phase, so users can connect to Neo4j only via `localhost`.
30+
This can be achieved by temporarily commenting out the `server.default_listen_address` parameter and providing the specific localhost value:
4431
+
4532
[source, properties]
4633
----
4734
server.default_listen_address=127.0.0.1
4835
----
36+
+
37+
[NOTE]
38+
====
39+
Ensure, you have blocked all network connections for any individual services configured to listen to `listen_addresses`.
4940
====
41+
+
5042
. Start Neo4j:
5143
+
5244
[source, shell]
@@ -72,11 +64,12 @@ dbms.security.auth_enabled=false
7264
----
7365
+
7466
.. Disable the HTTP and HTTPS network connections and restrict the `bolt` connector to use only `localhost`.
67+
Set `server.http.enabled` to `false`.
7568
This ensures that no one from outside can access the cluster during the recovery period.
7669
+
7770
[source, properties]
7871
----
79-
#server.http.enabled=true
72+
server.http.enabled=false
8073
#server.https.enabled=true
8174
server.bolt.listen_address:127.0.0.1
8275
----

0 commit comments

Comments
 (0)