Run a web server in a directory that has an index.html. If you have python3, e.g.:
python3 -m http.server 7000
Connect from the PS4 by entering
http://computer-ip:7000
This is sleirsgoevy's PS4 jailbreak for firmware 7.02/7.5x, upgraded with additional features and more payloads.
JavaScript