Access on the local network
1. Get an IP address
ifconfig -aip -4 addr | grep 192.168ipconfig getifaddr en0
> 192.168.0.xxx2. Make port public
Linux
# install it
sudo apt-get install ufw
# enable service
sudo ufw enable
# make sure that it is running
sudo ufw status verbose
# open port
sudo ufw allow in 80/tcp
# now we have port 80 available outside of our system# install it
pamac install ufw
# enable service
sudo systemctl enable ufw.service
sudo ufw enable
# open port
sudo ufw allow in 80/tcp
# now we have port 80 available outside of our systemMacOS
3. Setup CMA
magento-scripts 2.2.x and newer
magento-scripts 2.1.x and older
Last updated