Welcome to the Java Programming Forums

The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: remote hoster site ip or url

  1. #1
    Junior Member
    Join Date
    Jul 2010
    Thanked 0 Times in 0 Posts

    Default remote hoster site ip or url

    Here is my case:

    I have a js plugin that makes a jsonp call to a jsp page. Everything is working perfectly but there is one more thing i want to do.
    How I can get the IP address of the remote web site that this js plugin is placed? I don't want the client ip but the www.blablabla.com ip.
    I've tried the referer header but it will not work with IE and i guess it is not the best way to go.

    Thanks in advance.
    Last edited by johnymj; January 4th, 2012 at 08:59 AM.

  2. #2
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Thanked 833 Times in 772 Posts
    Blog Entries

    Default Re: remote hoster site ip or url

    This thread has been cross posted here:


    Although cross posting is allowed, for everyone's benefit, please read:

    Java Programming Forums Cross Posting Rules

    The Problems With Cross Posting

Similar Threads

  1. I've got a game .jar - how to put it on my site?
    By TrivialFate in forum Java Applets
    Replies: 7
    Last Post: September 8th, 2011, 07:18 AM
  2. Regarding an auction site
    By clipod in forum JavaServer Pages: JSP & JSTL
    Replies: 5
    Last Post: October 22nd, 2010, 11:23 AM
  3. Site to site communication (applet)
    By sanyi007 in forum Java Theory & Questions
    Replies: 0
    Last Post: May 16th, 2010, 07:19 AM
  4. how to transform an html file to a web site in java
    By nasi in forum Java Theory & Questions
    Replies: 9
    Last Post: March 28th, 2010, 11:06 PM
  5. Best way to automatically login user from a customer's web site.
    By ess_stegra in forum JavaServer Pages: JSP & JSTL
    Replies: 2
    Last Post: February 2nd, 2010, 12:16 PM