Browsing desktop web server from xda - MDA, XDA, 1010 General

Hi all,
I know we can connect to the internet using desktop connectivity with ActiveSync.
Now, I want to develop some simple WAP application and place it in my http://localhost (desktop IIS) for testing purpose. How can I browse it this site from my xda?
Anyone can help? TIA.

try http://<ip-number of Desktop PC>

It doesn't work at all. Beside, I use dial-up connection in my desktop, so the desktop doesn't have any ip before connecting to the internet, and I want to develop the application offline.
I tried to assign permanent ip address to my desktop in without connecting and it still doesn't work.

internal network
I doubt you have networked computers but here goes...
If you have a network card in your PC for networking. Then you have an IP address with this. normally "192.168.???.???" so you could use that.
Hope this may be of help ..

or http://127.0.0.1

You will need to be connected to the internet on your PC before you try to browse, or you will need to configure internet connection sharing while your xda is cradled for it to work.

Though I can't test this (no webserver running), it's gotta work:
Put your XDA in the cradle, and the go in VXutil and go to info. There, under the adapter called "Serial on USB," you should see some IP config info. The "Default Gateway" should be the IP of your machine (as your XDA sees it).
Just for kicks, mine turns out to be 192.168.55.100

I've tries http://127.0.0.1 but since my desktop computer is not network and I don't have any ethernet card installed, I cannot assign IP address to this machine?
What is Vxutil anyway?
Thanks.

rezz16 said:
I've tries http://127.0.0.1 but since my desktop computer is not network and I don't have any ethernet card installed, I cannot assign IP address to this machine?
What is Vxutil anyway?
Thanks.
Click to expand...
Click to collapse
POCKET HOSTS worsk ok
yes use usb asycn to pda -
setup VPN or non-vpn
first setup VPN network in computer
link to that in pda
no password ect
admin or guest with autologon on direct contact will do
I use say 192.168.100.100 etc

Related

XDA ON A NON WIRELESS LAN

Can I configure the XDA to connect to my office LAN using the USB connection !?!!?!??!
or is the device only capable of connecting over a wireless connection
which adapter is appropriate???
once connected, can the LAN internet connection be used by the XDA?
cheers
Jon
Absolutely. You set up 'desktop passthrough' in activesync (on the desktop). This will give you access to the LAN and internet.
ok- I have done that - and selected the "work" settings (on the desktop) do I need to configure anything on the device... if so - what?!?!
cheers
appreciate your help
No, as soo as the device connects to active sync, all the configuration is done. You should then be able to use pocket IE etc.
I can't remember exactly, but you may need to configure it as 'Internet' if you want to browse with Pocket IE etc.
Regards
Martin
cool - seems to working a treat!!!!!
cheers
disks to exlpore
can you use the screen of the xda to explore the network drives?
I may be doing something wrong. So a quick 1,2,3 would be helpful..
MmF
Unfortunately not. You need to know the path of the share you want to connect to. (ie \\Servername\sharename). You can then connect to this from file explorer
Good article on the subject
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnppc2k2/html/ppc_through.asp

Passthrough Communication with ActiveSync

I'm trying to analyse how Activesync is working and which communication
protocol(s) does is use.
Especially I'm interested in, to find out, what kind of communication is possible via USB "passthrough" connectivity!
Suppose the following environment:
Pocket PC 2002 is cradled and connected via USB with the desktop PC. ActiveSync 3.6 is used for communication. Passthrough connection is
enabled.
At the first view, it seems, that PPC communicates TCP/IP via USB with the desktop PC. But I'm really unsure, because I can neither ping the desktop from PPC, nor I can ping the PPC from the desktop side.
(Microsoft says that PPC has IP 192.168.55.101 and desktop PC has IP 192.168.55.100, Subnet: 255.255.255.0).
Ping from PPC to its own IP is working. But nothing more. Name resolution, pinging external host names is working.
Ping from desktop to 192.168.55.100 is not working. Furthermore I can't find any adapter, wich is using this IP address on my desktop!!!???
As well I found out, when using passthrough, that PPC seems to communicate with wcescomm.exe, located in the ActiveSync directory on the desktop PC (seems to be a kind of proxy software).
So far. Here my questions:
- did anybody made any experiences with wcescomm.exe ?
- how does PPC communicate with this prog? maybe via TCP/IP, or any
application protocol?
- which services could be used via this connection (apart from http, dns, etc.)?
kind regards,
robby

[UPDATED 2/25/2009] SocksProxy v1.0: Free SOCKS proxy for internet sharing

I have created an SOCKS proxy server application to run on Windows Mobile phones. A SOCKS proxy is a proxy server that is capable of forwarding nearly all types of network traffic, similar to a NAT router. It is very simple to use. Simply type in the port you would like the proxy server to listen on (defaults is 1080), then click the large "Start Proxy" button.
In order to run this application you will need the .NET Compact Framework 3.5 installed on your device.
Some applications are SOCKS-ready and others are not. You can use FreeCap (freeware) to SOCKS enable any Windows application. ** FreeCap seems to have problems connecting to SocksProxy. Let me know if it works or doesn't work for you. **
I am *NOT* responsible for any fees charged to anyone for the use of this software. There is no warranty and no guarantee.
[UPDATE 2/25/2009]
I've completed the new version of SocksProxy. It implements socks version 4a. There is no security, so it will allow anyone to connect with any user id.
Please let me know of any issues you find.
[UPDATE 2/24/2009]
SocksProxy v1.0 Reboot
--------------------------------------------------------------------------------
I've completed the new proxy server. It looks pretty much like the old one, but I've anchored the controls to the edges so it should scale properly with VGA devices.
I've written a new Socks 4a proxy from scratch and completed ditched all the old code. It seems to be working pretty well, though a bit slow. I think I need to increase the size of my read buffers. I will have to write a smarter heuristic for determining the size of the buffer per connection though. I have them at 128 Kb now. I need to grow each buffer dynamically according to how it's being used, that way I don't create large buffers for connections that are only transfering small amounts before closing (downloading a small gif or javascript file, for example).
I'll probably release it tomorrow after some more testing.
BTW: I'm posting this through the proxy right now!
[UPDATE 2/24/2009]
I've decided not to move forward with the J2ME version of SocksProxy. I will however be writing a new .NET CF version. The current version's proxy is based on code I ported from a proxy targeted to the standard .NET framework. Some features in the standard framework are absent in the compact framework. When porting the proxy I pretty much just did it as quick and dirty as I could because I really wanted something that just got the job done. I didn't care how stable or 'good' it was because I hadn't even intended on releasing it to anyone. Since it looks like there's still a lot of interest I will be writing a new one from scratch. Don't expect too much; It'll be the simplest thing that possibly works, but it'll be stable and reliable.
I'll be naming this version SocksProxy 1.0 Reboot. I'm not upping the version number because I'm really not going to be adding any new features.
[UPDATE 11/4/2008]
I am working on a J2ME version of this application. I will no longer be maintaining the .NET version of the application. The SVN repository for the .NET version will continue to be available. I have no plans on taking it down.
I have decided to switch to J2ME because I will be able to reuse source code in a future Android release -- that is, if Google or someone adds the ability for Android to have more than one IP address.
[UPDATE 10/27/2008]
There is a usage issue with the application with certain configurations of Windows Mobile and Activesync. It seems that when the Activesync host (your PC) has a connection to the internet the handheld device will prefer to connect to the internet via the PC's connection rather than its cellular connection. This completely eliminates any benefit to using the proxy. Does anyone know how to prevent the handheld from routing its internet traffic back through Activesync? Note that this is NOT solved by setting the "Allow data connections" setting in Activesync.
[UPDATE 10/27/2008]
I have updated the SVN respository (https://pchasco.homedns.org/svn/SocksProxy/trunk). Here are the changes:
* Changed "Listening on" box to list all IPs on the handheld
* Added an IP box. Enter an IP to listen on that IP or leave blank to listen on all.
* Rearranged form
* Added "Use selected IP" button to insert into the IP box the IP selected in the list of available IP addresses.
You can enter any IP address in the IP box, but the proxy will fail to start if the IP is not valid for your device.
Hi pchasco,
Could you explain a bit more what this does (and how it works)?
The reason I ask is that I'm looking for an application for the PPC which allows me to share its internet connection by pointing the Desktop browser' proxy to the PPC.
This allows me to be connected to the wired network and using this proxied browser to browse even the blocked sites ...
Can your application be used for this?
If so could you also explain how it works..
I've ran the App on my PPC, and clicked start, this gave me an IP address
next i hooked it up to USB and pointed IE's proxy to that address...didn't work
I also tried to activate the 3G first and/or with ICS activated
but both times I didn't see a IP address...
I'm probably doing something wrong..
Thanks
This is a SOCKS proxy, so it does not work in quite the same way that a normal HTTP proxy does. For internet explorer you'll have to open the advanced proxy options and fill in the information for the SOCKS hostort entry.
Can someone please explain a sample usage of this software on Windows Mobile?
pchasco said:
This is a SOCKS proxy, so it does not work in quite the same way that a normal HTTP proxy does. For internet explorer you'll have to open the advanced proxy options and fill in the information for the SOCKS hostort entry.
Click to expand...
Click to collapse
Have you used this with ICS? In other words, share your internet connection with a computer and then have the computer connect via your sock proxy to the internet?
abdulzis said:
Can someone please explain a sample usage of this software on Windows Mobile?
Click to expand...
Click to collapse
I'm not sure what you mean. An example of how to use it or an example describing why someone would want to use it?
hoopsbwc34 said:
Have you used this with ICS? In other words, share your internet connection with a computer and then have the computer connect via your sock proxy to the internet?
Click to expand...
Click to collapse
I am not sure why you would need to use both SOCKS proxy and ICS at the same time. They are both means to provide internet connectivity through your phone to another device. If ICS were an option on my phone, I would use it over SOCKS unless the client device did not support it.
pchasco said:
I am not sure why you would need to use both SOCKS proxy and ICS at the same time. They are both means to provide internet connectivity through your phone to another device. If ICS were an option on my phone, I would use it over SOCKS unless the client device did not support it.
Click to expand...
Click to collapse
Basically, I'm trying to allow access to two networks at the same time. So I want to adjust my settings in firefox to point to my WM phone and your socks proxy. Then my other applications and IE can use my LAN. Otherwise, to get my WM ICS to work I have to disable my LAN connection which I need for certain apps.
edit... I'm good with using it without ICS, but that doesn't seem to work either. No matter when I click start proxy, I get an IP of 0.0.0.0 and if I connect my computer via USB I can't ping that address.
hoopsbwc34 said:
Basically, I'm trying to allow access to two networks at the same time. So I want to adjust my settings in firefox to point to my WM phone and your socks proxy. Then my other applications and IE can use my LAN. Otherwise, to get my WM ICS to work I have to disable my LAN connection which I need for certain apps.
Click to expand...
Click to collapse
Then setting the SOCKS proxy setting without setting any other proxy settings should work in Internet Explorer. I've been trying to test it, but my phone refuses to access the internet through the cellular connection right now; it's always going through my PC while activesync is connected. I can't get it to stop! The funny thing is IE on my PC is making its HTTP requests through my phone, then my phone is going right back through my PC to the internet!
pchasco said:
Then setting the SOCKS proxy setting without setting any other proxy settings should work in Internet Explorer. I've been trying to test it, but my phone refuses to access the internet through the cellular connection right now; it's always going through my PC while activesync is connected. I can't get it to stop! The funny thing is IE on my PC is making its HTTP requests through my phone, then my phone is going right back through my PC to the internet!
Click to expand...
Click to collapse
That's what I tried... but the IP address I get is 0.0.0.0 from your app. What IP do you usually get back when you run it? Do you just connect via USB? If ActiveSync is running is that an issue?
pchasco said:
Then setting the SOCKS proxy setting without setting any other proxy settings should work in Internet Explorer. I've been trying to test it, but my phone refuses to access the internet through the cellular connection right now; it's always going through my PC while activesync is connected. I can't get it to stop! The funny thing is IE on my PC is making its HTTP requests through my phone, then my phone is going right back through my PC to the internet!
Click to expand...
Click to collapse
I think there is a setting in ActiveSync that says "allow wireless connections when connected" sounds like that might be your problem.
Mr_Gee said:
Hi pchasco,
Could you explain a bit more what this does (and how it works)?
The reason I ask is that I'm looking for an application for the PPC which allows me to share its internet connection by pointing the Desktop browser' proxy to the PPC.
This allows me to be connected to the wired network and using this proxied browser to browse even the blocked sites ...
Can your application be used for this?
If so could you also explain how it works..
I've ran the App on my PPC, and clicked start, this gave me an IP address
next i hooked it up to USB and pointed IE's proxy to that address...didn't work
I also tried to activate the 3G first and/or with ICS activated
but both times I didn't see a IP address...
I'm probably doing something wrong..
Thanks
Click to expand...
Click to collapse
Sounds like the same thing that is happening to me. I finally got it to give me an IP address, but only if my data connection is inactive. As soon as the data connection is active it becomes a 0.0.0.0 IP address. Bug?
I tried to establish the IP, then activate the data connection... still doesn't work when I enter the IPort into my proxy list for firefox.
hoopsbwc34 said:
That's what I tried... but the IP address I get is 0.0.0.0 from your app. What IP do you usually get back when you run it? Do you just connect via USB? If ActiveSync is running is that an issue?
Click to expand...
Click to collapse
I am not sure why you are receiving 0 as your IP address. Check in Settings->Connections->USB to PC that "Enable advanced network functionality" is selected.
Gave it another try
Connected to ActiveSync (AS) loaded the application
removed the AS connection, started the application
It showed me the IP address op 127.0.0.1 (localhost)
Stopped the App, initiated the gprs and started the App again.
now i'm getting an IP of 0.0.0.0, I restarted the App a couple of times but no dice
I also checked if the advanced network functionality was enabled and it was..
Mr_Gee said:
Gave it another try
Connected to ActiveSync (AS) loaded the application
removed the AS connection, started the application
It showed me the IP address op 127.0.0.1 (localhost)
Stopped the App, initiated the gprs and started the App again.
now i'm getting an IP of 0.0.0.0, I restarted the App a couple of times but no dice
I also checked if the advanced network functionality was enabled and it was..
Click to expand...
Click to collapse
Hmm... I'm not sure what's going on here. 127.0.0.1 is the loopback interface-- It is only valid for your phone to connect to itself. If your computer attempted to connect to 127.0.0.1 it would connect to itself, not your phone.
pchasco said:
Hmm... I'm not sure what's going on here. 127.0.0.1 is the loopback interface-- It is only valid for your phone to connect to itself. If your computer attempted to connect to 127.0.0.1 it would connect to itself, not your phone.
Click to expand...
Click to collapse
Yes I know... :-/
Well, if I have time in the next few days I will take a look and see whether there is anything I can do. Maybe there is another IP address available on your device but for whatever reason I'm displaying the loopback instead of the external interface.
What happens when you set your proxy client up to go to 169.254.2.1:1080?
Mr_Gee said:
Gave it another try
Connected to ActiveSync (AS) loaded the application
removed the AS connection, started the application
It showed me the IP address op 127.0.0.1 (localhost)
Stopped the App, initiated the gprs and started the App again.
now i'm getting an IP of 0.0.0.0, I restarted the App a couple of times but no dice
I also checked if the advanced network functionality was enabled and it was..
Click to expand...
Click to collapse
Sounds like the same bug I am getting.
An example describing why someone would want to use it?
abdulzis said:
An example describing why someone would want to use it?
Click to expand...
Click to collapse
If you can't use ICS and want to connect to the internet from your desktop, you can connect your phone using USB and start this proxy, then you can setup your desktop connection to use the proxy to get internet access.

Please help me set up remote desktop

I have it on my phone.. Ive checked you tube the web and here but i cant seem to get it working
what is a domain for windows vista?
How do i get it?
Can someone please help me.
put ip address for domain, or put real domain and connect.
It will ask you login infomation and password.
OK
zsunsun said:
put ip address for domain, or put real domain and connect.
It will ask you login infomation and password.
Click to expand...
Click to collapse
under username i put my comp username
and password
and domain is IP
so computer is what? my computer name?
?
zsunsun said:
put ip address for domain, or put real domain and connect.
It will ask you login infomation and password.
Click to expand...
Click to collapse
its says
Cannot connect. Likely reasons are:
1. Specified computer name or ip does not exist.
2. A network error occurred while establishing the connection.
Are you sure your computer and PDA is in same network? and can talk to each other?
Try pinging from and to computer.
Are you trying to RD to a computer on your same local network or across the internet? Either way, you should make sure your software firewall on your target computer is allowing the Remote Desktop connections through. That would be opening port 3389.
Also, you said you have Windows Vista. Make sure that you have allowed RD on that computer. Right Click My Computer in the Start Menu and go to Properties. Click on Advanced system settings link when the System dialog box pops up. Then click on the Remote tab when the System Properties box pops up. Make sure you have selected the middle option.
start/run/system/remote settings/ check 2nd option under remote desktop
input your network in your phone. Connect to it. (turn on wifi please)
Make exception in your firewall (windows , norton , avg whatever)
put ip of computer you want to connect to in computer
user name is what you see when you click start and look up
password is if you have one to log on to windows . Not everyone does .
There is one more step if you don't have UPnP enabled. You would have to forward ports 3389 open to conncet. Thats ONLY if you don't have UPnP enabled on your router.
Also
Just to add to the previous post, also make sure that you have XP PROFFESIONAL or VISTA PRO or ULTIMATE as the other versions of Windows do not have/support Remote Desktop Connections.

Internet connection sharing (=Internet-Freigabe) - unable to resolve hostname

Hello!
I'm frequently using Internet connection sharing (=Internet-Freigabe, I'm using german ROM) on the HD2 to enable internet on my laptop.
After installing MyMobiler 1.25 and Efficasoft Mobile Express v1.5.2 on my PC I found out that Internet connection sharing doesn't work correctly anymore. The following I found out:
- Internet connection sharing works only in about 1 per cent of my connection trials, most time I get 'unable to resolve hostname' in my browser.
- reboot of HD2 and/or PC does not always help, occasionally I can establish a connection but most time the PC can't resolve host name.
- earlier I could easily turn on off internet connection sharing by pressing connect / disconnect (= verbinden, trennen) in the internet connection sharing (=Internet Freigabe) application. This does not work anymore. When I press disconnect and later connect I always get unable to resolve hostname.
- I entirely removed both softwares on PC and PDA but this doesn't help
- error is not limited to HD2 device, it occures on a HTC TouchHD in connection with a different PC as well
- It seems to me that the Internet connection is not correctly forwarded to the pc, because the PDA itself can establish an internet connection correctly (mobile browser is on the internet)
Thank you for your help because I'm urgently using this feature!
Regards,
hari.st
try changing your dns server on the pc, im not quite sure how you do this in windows. open dns have rock solid servers and there pretty secure too. not sure if that is your problem but its something to try. some mobile providers dns servers tend to be problomatic.
veda_sticks said:
try changing your dns server on the pc, im not quite sure how you do this in windows. open dns have rock solid servers and there pretty secure too. not sure if that is your problem but its something to try. some mobile providers dns servers tend to be problomatic.
Click to expand...
Click to collapse
Hello veda_sticks!
Thanks for your reply!
How should I do this? I just plug-in my HD2 into my Notebook and get a selection menu on the HD2 where I can choose Internet connection sharing (out of 3 possible choices where the other 2 are Acive sync and use as HD drive). After pressing OK it works or it doesn't work.

Categories

Resources