Udostępnij za pośrednictwem


Connecting to https://localhost/ from your PocketPC

When running Pocket IE (PIE) on a PocketPC, in versions PPC 2000 and PPC 2003 to open up https://localhost/ to open a web server running on the device you needed to do some workarounds first.  The problem was in PIE itself, and not the Microsoft web server, so it didn't matter what underlying web server you were trying to connect to.  Note that this worked fine in PPC 2002.

This has been fixed in PocketPC 2005 with one minor caveat.  Opening up https://localhost/ from the browser works just fine.  Opening up https://127.0.0.1/ however will not work, again due to a browser problem.  We'll hopefully get this fixed in the next major release.  For now just use https://localhost/.

As a footnote, in PocketPC 2005 PIE has been rebranded "IE Mobile".

[Author: John Spaith]

Comments

  • Anonymous
    December 13, 2005
    John,
    on WM5, http://localhost does work, but ONLY when the device is cradled to the computer, if it is not, it doesnt work!!
  • Anonymous
    March 28, 2006
    i really hate this kind of MS strategy. this localhost (loopback address) problem in PIE had already caused several compatibility problems. MS has to change its strategy when it comes to mobile as mobile devices can't be just easily patched!!!
  • Anonymous
    April 11, 2006
    That is very frustated for me!!
    We are developing an application that runs a local TCP proxy on the device.
    We want ActiveSync to connect to this local TCP port (80 or 443) so we get the AS data.
    When Pocket PC is cradled and we use work network connection then it works,
    AS will connect to localhost. But when we use GPRS connection and internet network
    then AS failes to connect. WHY??? PIE can connect to localhost with internet connection
    but why AS can not?
    Is there a fix like that for PPC 2003 with the CM_Mapping and registry entries?
    Please can someone help?
  • Anonymous
    January 20, 2011
    Hi,I have this problem also. I had a web server installed on my old Pocket PC 2002 (Microsoft HTTP Server  available in eVB 3.0). Everything was working fine. Now, I have a Windows Mobile 5. I installed the HTTPD server on it, but I'm unable to access the local (internal) web site using http://127.0.0.1 or http://localhost. I tested it with Internet Explorer Mobile and with Opera Mini 5.1... same problem ! But I observed with a small tool named Pocket Ping that I can make a PING test to the loopback (127.0.0.1 or localhost) without problem.The problem seem to be something around network manager that doesn't route properly loopback address whe the request is coming web browser only. If somebody find a solution for that I really appreciate the solution !!!