Skip to content

Commit 86fd1a4

Browse files
chore(docs): port consistency for Bastion host (#41)
There was a typo 54322 But also the SSM example above fowards to 9999 This PR makes it consistent that 9999 is used as a localforward so it's clear what port is which.
1 parent 0585b18 commit 86fd1a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/bastion-host/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ import { Construct } from "constructs";
6363
* ```
6464
* Host db-tunnel
6565
* Hostname {the-bastion-host-address}
66-
* LocalForward 54322 {the-db-hostname}:5432
66+
* LocalForward 9999 {the-db-hostname}:5432
6767
* ```
6868
*
6969
* Then a tunnel can be opened via:
@@ -75,7 +75,7 @@ import { Construct } from "constructs";
7575
* And a connection to the DB can be made via:
7676
*
7777
* ```
78-
* psql -h 127.0.0.1 -p 5433 -U {username} -d {database}
78+
* psql -h 127.0.0.1 -p 9999 -U {username} -d {database}
7979
* ```
8080
*
8181
* **Handling `REMOTE HOST IDENTIFICATION HAS CHANGED!` error**

0 commit comments

Comments
 (0)