WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Using Ip address instead of localhost (3 posts)

  1. DavidCalgary
    Member
    Posted 6 months ago #

    Hi,

    1.All is well using localhost/website.

    2.All is well (after some setup) using 192.168.0.101/website
    EXCEPT:

    JetPak plugins won't work because jetpak cannot connect.
    To make #2 work I had to change "siteurl" and "blogurl" from
    localhost to 192.168.0.101.
    If I now go to Plugins>Jetpak it says "Click on the connect button to finish activating" I do-did that:-). and it says it cannot connect.

    If I change the url settings back to localhost I can connect just fine from my computer and another computer in the house BUT then my pages don't display correctly from the "other" computer. so I do need to use the ip method. My roommate and I share development of sites and need to see each other websites that we are building.

    I am sure the Code gods at WordPress can find a simple solution.
    (I find sucking up really helps :-)

    David Zdep

  2. Sal Ferrarello
    Member
    Posted 5 months ago #

    Hi David,

    I'd try adding this line to your wp-config.php file
    define ('JETPACK_DEV_DEBUG', true);

    Jetpack is auto-enabling JETPACK_DEV_DEBUG when you load from localhost but when you use your IP address you need to set it explicitly.

    You can read about this at
    http://jetpack.me/2013/03/28/jetpack-dev-mode-release/

  3. DavidCalgary
    Member
    Posted 5 months ago #

    Hi Salcode,

    Your Mom gave you a really unusual name :-)

    Thank you. I put the command in wp-config.php with comments so I will remember why. And it worked great! no more Jetpack error.

    Thanks for getting back so quickly. I didn't expect that.

    David

Reply

You must log in to post.

About this Topic