cancel
Showing results for 
Search instead for 
Did you mean: 

can't access from a different computer

can't access from a different computer

I've been trying to solve this problem for a week with no success.

 

I installed magento2 on my server. Everything works fine on that computer. However, whenever I tried to access the magento2 application from another computer on the same network, the URL's host is rewritten to 'localhost' and it gave me the "unable to connect" error. For example, the url

 

http://myserver:8080/magento2/

 

becomes

 

http://localhost:8080/magento2/index.php/?SID=uidlufm3nk3ilc0selvmd9crv1

 

i don't know where this host translation comes from. Please help.

 

 

3 REPLIES

Re: can't access from a different computer

@waynecater

 

Please check if you are not only able to access Magento or the whole server.

Found something useful, please give "Kudos" or "Accept as Solution" for Token of Appreciation.
Free Magento Extensions : https://magecomp.com/free-magento-extensions.html

Re: can't access from a different computer

Hi,

 

I think in your database or somewhere in configuration instead of ip address of the server ,loalhost is not updated.

 

Therefore URL redirect to localhost instead IP address of the server.

 

-Thanks

Shahab

-Thanks & Regards,Shahab

Re: can't access from a different computer

Hi where can I see those conf files?