XMLHttpRequest tries to access the IP address of the current machine

0 views
Skip to first unread message

Chen, Zhang Z

unread,
Nov 5, 2012, 1:59:53 AM11/5/12
to node-...@googlegroups.com
Hi,
 
When I try to use XMLHttpRequst GET to fetch an URL in http://localhost:9222/json, it tries to access the page at the IP address of my machine.

My OS version is:
 
Mac OS X Server Lion 10.7.4 (11E53) x86_64
 
It seems Windows version doesn’t have such problem. And it’s wired that I think I have the XMLHttpRequst was successful last Friday…
 
 

Zhao Cheng

unread,
Nov 5, 2012, 3:10:12 AM11/5/12
to node-...@googlegroups.com
On Mon, Nov 5, 2012 at 2:59 PM, Chen, Zhang Z <zhang....@intel.com> wrote:
> When I try to use XMLHttpRequst GET to fetch an URL in
> http://localhost:9222/json, it tries to access the page at the IP address of
> my machine.


I'm not sure about your question, can you give demonstration code and
expected result?

--
Cheng
Intel Open Source Technology Center

Chen, Zhang Z

unread,
Nov 5, 2012, 8:49:25 AM11/5/12
to node-...@googlegroups.com


>-----Original Message-----
>From: node-...@googlegroups.com
>[mailto:node-...@googlegroups.com] On Behalf Of Zhao Cheng
>Sent: Monday, November 05, 2012 4:10 PM
>To: node-...@googlegroups.com
>Subject: Re: [node-webkit] XMLHttpRequest tries to access the IP address of the
>current machine
>
>On Mon, Nov 5, 2012 at 2:59 PM, Chen, Zhang Z <zhang....@intel.com>
>wrote:
>> When I try to use XMLHttpRequst GET to fetch an URL in
>> http://localhost:9222/json, it tries to access the page at the IP
>> address of my machine.
>
>
>I'm not sure about your question, can you give demonstration code and
>expected result?
>
It turns out that the problem is caused by some zombie nw processes spawned by my application. Sorry for the confusion
Reply all
Reply to author
Forward
0 new messages