;; list all port
sudo semanage port -l | grep http_port_t
;;allow port
sudo semanage port -a -t http_port_t -p tcp 8090
;; to toggle the SELinux boolean value for httpd network connect to on
setsebool httpd_can_network_connect on -P
;; list all port
sudo semanage port -l | grep http_port_t
;;allow port
sudo semanage port -a -t http_port_t -p tcp 8090
;; to toggle the SELinux boolean value for httpd network connect to on
setsebool httpd_can_network_connect on -P