Title: localhost problems in wp-config
Last modified: August 18, 2016

---

# localhost problems in wp-config

 *  [sauke](https://wordpress.org/support/users/sauke/)
 * (@sauke)
 * [21 years, 7 months ago](https://wordpress.org/support/topic/localhost-problems-in-wp-config/)
 * When running on my computer (windows XP Prof,Apache 2.0.50 & mysql 4.0.20) all
   is fine with ‘localhost’ as the DB_HOST parameter. However if accessed from another
   box on the network the display is missing all the CSS stuff.
    When I change the
   localhost value to an actual ip address I get “Error establishing a database 
   connection” Anyhelp will be appreciated. Thanks in advance.

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

 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [21 years, 7 months ago](https://wordpress.org/support/topic/localhost-problems-in-wp-config/#post-104078)
 * The wordpress files (including wp-config) should stay on the computer with the
   MySQL database, as that database is the core of your WordPress install. If localhost
   is your MySQL host, then that’s what it should remain. If you want to access 
   it from another box on the network, just direct your browser to the index.php
   file in the original WP install, just as if it were a website online.
 *  Thread Starter [sauke](https://wordpress.org/support/users/sauke/)
 * (@sauke)
 * [21 years, 7 months ago](https://wordpress.org/support/topic/localhost-problems-in-wp-config/#post-104127)
 * That’s what I thought but have a look at what I see
    - [http://www.samuelekong.com:8080/index.php](http://www.samuelekong.com:8080/index.php)
 * . Please let me know if it displays okay in your browser.
    Thanks.
 *  Thread Starter [sauke](https://wordpress.org/support/users/sauke/)
 * (@sauke)
 * [21 years, 7 months ago](https://wordpress.org/support/topic/localhost-problems-in-wp-config/#post-104128)
 * macmanx, can you please also check out the links too – the date & month link 
   and the title link.
    It might highlight the issue adequately. Thanks.
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [21 years, 7 months ago](https://wordpress.org/support/topic/localhost-problems-in-wp-config/#post-104131)
 * Wow, now that’s interesting. Check and see what you have in WP’s admin area at
   Options/General.
 *  Thread Starter [sauke](https://wordpress.org/support/users/sauke/)
 * (@sauke)
 * [21 years, 7 months ago](https://wordpress.org/support/topic/localhost-problems-in-wp-config/#post-104147)
 * I checked my Options/General and all appears to be okay. Where would I find the
   line accessing the css style sheet. I would like to check up on that and see 
   if I ned to correct the path.
    Thanks.
 *  [Laughinglizard](https://wordpress.org/support/users/laughinglizard/)
 * (@laughinglizard)
 * [21 years, 7 months ago](https://wordpress.org/support/topic/localhost-problems-in-wp-config/#post-104148)
 * [@sauke](https://wordpress.org/support/users/sauke/): Look at the top of index.
   php

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

The topic ‘localhost problems in wp-config’ is closed to new replies.

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 6 replies
 * 3 participants
 * Last reply from: [Laughinglizard](https://wordpress.org/support/users/laughinglizard/)
 * Last activity: [21 years, 7 months ago](https://wordpress.org/support/topic/localhost-problems-in-wp-config/#post-104148)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
