Skip to content

Instantly share code, notes, and snippets.

@maiha maiha/
Created Jan 7, 2020

What would you like to do?


  • 8080にAPIを立てる
cat /usr/lib/firewalld/services/http.xml | sed -e 's/80/8080/g' > /etc/firewalld/services/http-api.xml
systemctl reload firewalld

firewall-cmd --add-service=http-api --zone=public --permanent
firewall-cmd --zone=public --list-services --permanent
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.