Quick answer: The Port Gellhorn safe codes are Brooks Boatworks 6823, La Cascara Motel 6969 and Kingpin Bowling 0300. Type them straight into the keypads - you don't need to find the codes in-game first.

All three safes

Illegal OperationCodeWhere / notes
Brooks Boatworks6823Office safe in the Kolt & Associates yard on the waterfront - guards carry shotguns
La Cascara Motel6969Abandoned seaside motel; also holds a Scrapper SMG, and a Firebug Vapid Dominator sits out front
Kingpin Bowling0300The third Chapter 2 code in town

Where the codes live in-game

All three codes are written on a wall map inside Brooks Boatworks - enter through the fence hole on the east side, climb the gray building's exterior stairs, follow the walkway into the office and study the map (hold L2/LT) to learn them permanently. The 6823 combination also sits in a notebook inside the Stash House safe.

The Stash House safe - no code needed

The Port Gellhorn Stash House (Kolt & Associates drug house, north residential streets, flagged once Vicki tips you off in Chapter 2) has a screwdriver-minigame safe instead: Triangle/Y then work the right stick until the circle fills. Inside: cash plus the notebook with 6823. Shoot the vent grille opposite the safe for a hidden $1,000.

Other ways in

FAQ

What are the Port Gellhorn safe codes?

Brooks Boatworks 6823, La Cascara Motel 6969, Kingpin Bowling 0300.

Do the codes work without finding them?

Yes - type them straight in; finding the Brooks Boatworks wall map just learns them in-game.

How do you open the Port Gellhorn stash house safe?

Not with a code - it's a screwdriver minigame (work the right stick until the circle fills).