Title: Accessing localhost wordpress fromother Computer
Last modified: August 19, 2016

---

# Accessing localhost wordpress fromother Computer

 *  [sbabuk](https://wordpress.org/support/users/sbabuk/)
 * (@sbabuk)
 * [16 years ago](https://wordpress.org/support/topic/accessing-localhost-wordpress-fromother-computer/)
 * Hi, I have installed wordpress in my two computers (Machine1 & Machine2).
    When
   I access //192.168.1.1/wordpress from second computer, the wordpress home page
   is loading from the first computer but not theme. When I click some link it automatically
   redirects to the wordpress installed in second computer (local host). It may 
   be becuase mysql is installed in both the machines. Is there a way to solve.
 * In short, I need to access //192.168.1.1/wordpress and //192.168.1.2/wordpress
   from the same computer.
 * Thanks a lot for your help.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [jason_ct](https://wordpress.org/support/users/jason_ct/)
 * (@jason_ct)
 * [16 years ago](https://wordpress.org/support/topic/accessing-localhost-wordpress-fromother-computer/#post-1530123)
 * Have you tried configuring the database server location in wp-config.php as the
   IP address instead of localhost?
 * /** MySQL hostname */
    define(‘DB_HOST’, ‘192.168.1.1’);
 *  [northernwolf](https://wordpress.org/support/users/northernwolf/)
 * (@northernwolf)
 * [16 years ago](https://wordpress.org/support/topic/accessing-localhost-wordpress-fromother-computer/#post-1530203)
 * It would help to know what O/S your installation was on. It sounds like a permissions
   issue, or you may need to modify your hosts file.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Accessing localhost wordpress fromother Computer’ is closed to new replies.

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 2 replies
 * 3 participants
 * Last reply from: [northernwolf](https://wordpress.org/support/users/northernwolf/)
 * Last activity: [16 years ago](https://wordpress.org/support/topic/accessing-localhost-wordpress-fromother-computer/#post-1530203)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
