Jump to content

[ Share guide ] How to access localhost from other computer


Recommended Posts

Guest TheVortex
Posted

How can I access http://localhost/a/ from another computer have IP

      192.168.1.1 ?

A - Default access only accept local computer, for give external connect to

    phpmyadmin (http://localhost/a/), you need to edit:

 

    C:\server\diskw\home\admin\www\.htaccess

    Below the line: Allow from 127.0.0.1

    Add: Allow from 192.168.1.1

 

    Then open http://localhost/a/, choose Privileges, choose Edit Privileges for

    "localhost", scroll down to section "Change Login Information / Copy User" ,

    in Host change to "Use text field:" and type 192.168.1.1 to the field, then

    press GO.

 

    Now you can access to server from computer have IP 192.168.1.1 by type in

    browser: http://ip_of_server/a/

 

Credits : HERO1771

Posted

Nope, only if he is such a nub that he has left (allow all) on at the .htpaccess and he hasn't setted a password :P The db doesn't allow connection from other ips or if you don't have the pass...

  • 1 year later...
  • 9 months later...
  • 2 months later...
Guest
This topic is now closed to further replies.
×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock