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 3

Re: can't access from a different computer

@waynecater

 

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

Was my answer helpful? You can accept it as a solution.
175+ Professional Extensions for M1 & M2
Need a developer?Just visit Contact Us Now

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 & Best Regards, Zohaib

Re: can't access from a different computer

Hi where can I see those conf files?