Can you share a screenshot? Generally it's not the OS that blocks a self-signed cert, but antivirus software or a browser policy. I can't give specifics on the antivirus workaround as they're all a bit different, but if it's a network policy, you should be able to escalate it to your local IT support or network administrator.
Navigate to
https://localhost:8181 to see what the certificate says. If you need to make the exception there, you should have the option available, then it should work as intended.
I've attached a screenshot for reference.
Regards,
Lite Finocchiaro
VP, QZ Industries