Skip to content

Localhost Magento 2 — How to access on network?

I have installed Magento 2 to run locally (127.0.0.1) on a computer running Ubuntu.
Eveything works and I am hoping to now be able to access it from other PC’s on the network.

Can anyone point me in the right direction on what to do?

Installing Magento 2 was difficult, so I don’t want to mess that up (used Linux for the first time to install magento)

Edit to make clear my goals:

  • Be able to access magento admin (installed on a machine running ubuntu) from other pc’s on the network. Magento is currently configured as 127.0.0.1.

I assume I need to change 127.0.0.1 to the LAN IP somewhere (an apache config, and/or the sqldb?)