Application cannot communicate with IE6

  • Thread starter Thread starter Admin
  • Start date Start date
A

Admin

I have a hypertext base application on my HD that needs to communicate
with my browser (IE6, Sp2) on port 8780 for display of its content but
the browser says 'This page cannot be displayed' while the address bar
reads http://localhost:8780/index.html

I have looked every where to make sure any of my security software is
not blocking this communication, there is nothing in the ZoneAlarm,
Giant Antispyware or in Kaspersky AV logs to show any blocking. In
the ZA the application executable has server and Internet rights.

I also tried running the application with ALL of the security software
shut down, still no change in this behavior. I have reset the
settings in the browser, deleted the files in cache and all unknown
cookies but no luck.

Can someone advise me how can I ensure that a local application on my
HD could communicate with my browser on port 8780.

Thanks

Matt
 
Admin said:
I have a hypertext base application on my HD that needs to communicate
with my browser (IE6, Sp2) on port 8780 for display of its content but
the browser says 'This page cannot be displayed' while the address bar
reads http://localhost:8780/index.html


What if you use the exact address instead: 127.0.0.1

Also to be clear you should give more information.
E.g. your browser state should be: Working Online
your Connections option should be Never dial
and you shouldn't have anything checked on LAN Settings.


---
 
Nothing changes if 127.0.0.1 is used. Yes, the browser does this when
it is online, never dial is checked under connections, under LAN
settings, I have tried every option, from everything unchecked to
everything checked and all possible combinations thereof, nothing was
ever checked off under proxy settings.

Since my original post I have re-registered all dlls for IE function,
reinstalled the scripting engine and also replaced the Oleaut32.dll.

I have tried to reinstall IE by following the directions by MS by
editing registry to make the system believe that IE is not installed
but it still says a newer version is installed, so the setup quits. I
have read somewhere that for this process to succeed, the SP2 has to
be uninstalled. I do not want to go that route.

Anymore ideas?

Matt

=============================================
 
....
Nothing changes if 127.0.0.1 is used. Yes, the browser does this when
it is online, never dial is checked under connections, under LAN
settings, I have tried every option, from everything unchecked to
everything checked and all possible combinations thereof, nothing was
ever checked off under proxy settings.


I suspect it may be a bug. I have seen reports about IE not respecting
port numbers in requests. (I think its was actually about https though.)

Have you tried tracing the requests to find out what IE is really doing?

How would your application react if you treated it as a proxy?
IE would respect port numbers for sure that way.


HTH

Robert
---
 
Hi Robert:

Thanks for the reply.

I do not know how to accomplish what you suggested, if you could give
me some directions as to how to trace requests and how to use the
application as proxy then I would definitely give it a try.

Thanks

Matt

=======================================
 
Admin said:
Hi Robert:

Thanks for the reply.

I do not know how to accomplish what you suggested, if you could give
me some directions as to how to trace requests

You have XPsp2. If it is XP Pro look in its Support Tools for netcap
You will want to use the /N: switch but need to know your adapter #.
Use the /? switch and it will show you your adapter numbers.

Here are some excerpts from other replies about this.

<excerpt>
FYI XP Pro distributes netcap with its Support Tools.
Use that to capture the requests. I use Ethereal for formatting
the resulting .cap files. However, since the http: protocol is mostly
character based you could instead usefully browse the .cap files
(even though it is a binary format) and extract sufficient information
about the requests that way.
</excerpt>

<excerpt type="reply to Ethereal user">
Did you install WinPCap too?
Otherwise you will have to use netcap to do your capturing.

As I mentioned I prefer to use netcap to do the capturing anyway.
I usually start netcap from a command window.
I don't use it often enough so I have to check the syntax each time.

netcap /?

and as I mentioned it shows me the appropriate value to use
for my network adapter. E.g. the help gives me the clue
to enter

netcap /N:1

to start the trace and it is straightforward from there what to do
to stop it. When it stops it shows me where it wrote the .cap file.
Strangely the .cap file is given in 8.3 format but that really
doesn't matter because all I do is copy the whole string
(path and filename) to clipboard (e.g. use your mouse or
Alt-Space,E,k,Enter etc.), then switch to Ethereal, press Ctrl-o
and paste the saved full filename into Ethereal's input box.

There's probably a way to use Ethereal to limit it to just the
NNTP protocol but I haven't bothered trying to figure out how
so far. I usually just expand the protocol layer I'm interested in
or use the Contents of TCP Stream window
(e.g. via Follow TCP Stream Tools menu item.)

One thing it will help answer the question about is the timing.
You will see a relative timestamp associated with each packet
in the top pane and labeled by the highest level protocol each
contains.

See how you make out with the instructions so far and what
you can figure out yourself from the UI and the Help files.
and how to use the application as proxy
then I would definitely give it a try.

Simplest thing to start with would be to configure
127.0.0.1:8780 as a proxy address (e.g. in Connections,
Settings, LAN Settings) and see what it does when
IE passes stuff to it.

Thanks

Matt


Good luck

Robert
---

....

Lurkers: for further thread context please see

http://www.microsoft.com/windows/ie...&p=1&tid=8db1cdf4-02ee-43d9-8ef8-ece1e23b895a
 
Back
Top