How do I change the IP address used by ihttpd?
If ihttpd does not work on the server after changing the IP address:
- Replace the IP address in the listen section of the configuration file /usr/local/mgr5/etc/ihttpd.conf. The section you need may look like
An example of listen section
orlisten { ip 192.0.2.22 redirect }
An example of listen section
listen { ip 192.0.2.22 redirect sni { domain_cert etc/ihttpd_lets1.crt domain_key etc/ihttpd_lets1.key domains billmana.gq } }
NoteIf you specify an IP address in the listen section that is not present on the network interface, the ihttpd service will not start after restart. - Restart ihttpd: or
systemctl restart ihttpd
service ihttpd restart