@braveclanyt
Your machine has HDMI out at its back
Back I/O ports note:The configuration might vary depending on your model.
Figure : ProstNT 21.5 back I/O ports

Lock slot
Disk activity LED
USB 2.0: 2
LAN (Ethernet)
Power LED
DC power in
USB 3.0: 2
HDMI out
Headphone/Microphone
Its specs
https://support.hp.com/au-en/document/c05575400
Connecting HDMI out port from your PS4 to out HDMI out port won't give you anything. In short, you can't use your AiO as a monitor for your PS4.
Regards.
BH***
**Click the
KUDOS thumb up on the left to say 'Thanks'**
Make it easier for other people to find solutions by marking a Reply
'Accept as Solution' if it solves your problem.