0

Upon entering following command,

firewall-cmd --add-service=postgresql-13  --permanent

I am getting this

Error: INVALID_SERVICE: 'postgresql-13' not among existing services

Where, postgresql-13 is my service.

What must have gone wrong?

R_S_C
  • 3
  • 1
  • 2

1 Answers1

0

Did you define a custom firewalld service named postgresql-13? You didn't mention doing so.

Firewalld services define one or more ports and/or protocols to allow in the firewall. They are disjoint from systemd services.

If you wanted to enable incoming traffic to PostgreSQL, the correct service name is postgresql.

Mohammad Faisal
  • 673
  • 5
  • 5
Michael Hampton
  • 244,070
  • 43
  • 506
  • 972