Title: WordPress Forwards to Localhost
Last modified: August 19, 2016

---

# WordPress Forwards to Localhost

 *  Resolved [r3in](https://wordpress.org/support/users/r3in/)
 * (@r3in)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/wordpress-forwards-to-localhost/)
 * Well, I have an interesting Problem. I am not sure if it should go here, or into
   Install, but I think here is more appropriate.
 * I have installed wordpress, Hell, It looks great, I can see it, update the templates,
   and do, basically whatever needs to be done. So far so good, right?
 * Not quite. I was about to test the server, to make sure everything works, and
   someone from IRC asked me, ‘Why does it give me a ‘connecting to 192.168.1.6 
   error’ then timeout’? at first, I initially thought that my router was to blame.
   So, I removed it, and hooked up a hub/relay.
 * Then, When he tried again, He noted that it was redirecting him to 127.0.0.1 (
   localhost) and obviously failing. I thought, that Apache or PHP was to blame,
   so I looked through the httpd.conf, saw nothing unusual, tried making a new directory
   for it (it worked for Phpmyadmin, so mabye it would work with this) It didn’t.
 * In fact, all that I was able to discern was that php worked, and strangely enough,
   I noticed immediately afterwards, that I could access the root directory, [http://75.153.252.101:666/](http://75.153.252.101:666/)
   without a problem. More so, I could access the [http://75.153.252.101:666/wordpress/](http://75.153.252.101:666/wordpress/)
   directory, as long as the mysql database was not selected, or it could not connect.
 * So, I know the problem is mysql based, but other than that, I am not sure where
   to look, or to even begin looking. any suggestions, or advice would be greatly
   appreciated.

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

 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/wordpress-forwards-to-localhost/#post-749684)
 * Are you hosting WP on your own box?
    It sounds like a coomon mistake that self-
   appointed web admins make… What are the two URL values in your admin > Settings
   > General?
 *  Thread Starter [r3in](https://wordpress.org/support/users/r3in/)
 * (@r3in)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/wordpress-forwards-to-localhost/#post-749693)
 * Yep, that was exactly the problem. Thanks for pointing that out… I guess RTFM
   applies here.

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

The topic ‘WordPress Forwards to Localhost’ is closed to new replies.

## Tags

 * [forward](https://wordpress.org/support/topic-tag/forward/)
 * [MySQL](https://wordpress.org/support/topic-tag/mysql/)
 * [tag](https://wordpress.org/support/topic-tag/tag/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [r3in](https://wordpress.org/support/users/r3in/)
 * Last activity: [18 years, 1 month ago](https://wordpress.org/support/topic/wordpress-forwards-to-localhost/#post-749693)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
