hector-sab / hectorsabblog

1 stars 0 forks source link

Connect to dev webserver in local network from another device #9

Closed hector-sab closed 1 year ago

hector-sab commented 1 year ago

In Linux we need to open the port. In manjaro we can use ufw as long as iptables.service is not enable.

https://wiki.manjaro.org/index.php/Firewalls https://linuxconfig.org/enable-disable-firewall-on-manjaro-linux

hector-sab commented 1 year ago

You also need to bind hugo:

hugo server -D -p 8570 --bind $COMPUTER_LOCAL_IP

Found the solution here. Tho they also use --baseURL http://$COMPUTER_LOCAL_IP