I have installed Magento 2 to run locally ( 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

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

  • Use your system IP address instead of – Amit Naraniwal Feb 12 '19 at 7:37

You have to change your localhost to system ip, such as

UPDATE core_config_data SET value = '' WHERE path LIKE 'web/secure/base_url';

UPDATE core_config_data SET value = '' WHERE path LIKE 'web/unsecure/base_url';

Finally, cache:clean and cache:flush

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.