Jump to content

[ Share guide ] How to access localhost from other computer


Guest TheVortex

Recommended Posts

Guest TheVortex

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

Link to comment
Share on other sites

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...

Link to comment
Share on other sites

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


×
×
  • Create New...