Title: Cannot get into Localhost
Last modified: August 19, 2016

---

# Cannot get into Localhost

 *  [lilyvine](https://wordpress.org/support/users/lilyvine/)
 * (@lilyvine)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/cannot-get-into-localhost/)
 * I have to go into wp_config and change
    /** MySQL hostname */ //define(‘DB_HOST’,‘
   localhost:3306’); //define(‘DB_HOST’, ‘localhost’); define(‘DB_HOST’, ‘192.168.2.4’);
   this IP address so I can get into my website. It won’t connect with localhost
 * tonite it would not let me in even though I did this. Anybody got any ideas.
 * I’m using a Mac with Mamp

Viewing 1 replies (of 1 total)

 *  [arkgroup](https://wordpress.org/support/users/arkgroup/)
 * (@arkgroup)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/cannot-get-into-localhost/#post-1967515)
 * lilyvine,
 * DB_HOST should be localhost for MAMP. For more information check this article:
 * [http://codex.wordpress.org/Installing_WordPress_Locally_on_Your_Mac_With_MAMP](http://codex.wordpress.org/Installing_WordPress_Locally_on_Your_Mac_With_MAMP)

Viewing 1 replies (of 1 total)

The topic ‘Cannot get into Localhost’ is closed to new replies.

## Tags

 * [MAMP](https://wordpress.org/support/topic-tag/mamp/)

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 1 reply
 * 2 participants
 * Last reply from: [arkgroup](https://wordpress.org/support/users/arkgroup/)
 * Last activity: [15 years, 2 months ago](https://wordpress.org/support/topic/cannot-get-into-localhost/#post-1967515)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
