Accessing local IIS site from my Android device (HTC Desire HD) - android

I am making a website. I'm using IIS7 on a Windows 7 Professional machine.
Is there a way I can acces that local site from HTC Desire HD (Android 2.2)?
I have tried connecting my phone through the internet via the internet passthrough option that is available on Desire HD. I can connect through my PC, but not to my local site.
I have also tried making an inbound rule in my firewall on port 80 but to no avail. (I saw someone mention this somewhere)
I would appreciate some help on this one.
/Anders

The site is currently running on your local network? If so, it's probably available at localhost/ or your local IP, correct?
If it's the only site running on that server/port combination, you can enable your firewall for that port, enable WiFi on your phone and just go to the computer's LAN IP which should bring up the site.
If this isn't specific enough, let me know in the comments.

Related

How to use SpaceDesk over a Wired Connection?

I have a Samsung Galaxy Tab A 10.1" that I want to use as a second monitor with my PC. Spacedesk works great for my needs so long as I'm on a network with lots of bandwidth -- but more frequently I want to use second-monitor functionality in other environments, e.g. at a coffee shop, where the number of users bogs down network traffic and makes Spacedesk unacceptably slow.
Spacedesk doesn't natively support a wired connection, but for those who want one they suggest using USB tethering, presumably so both devices are on the same network. Problem is, my tablet is the Wifi-only version, so USB tethering isn't enabled. I rooted the device and used adb to run the commands enabling USB tethering as an option. It didn't take - the option never appeared under Settings / Connections. Then I installed ClockworkMod Tether as a 3rd party usb tether app. The PC tether software said it connected successfully to the tablet, but Spacedesk couldn't connect. Next I tried "gnirehtet", a reverse-tethering app. Got it working fine, but again Spacedesk on the tablet couldn't find the Spacedesk server on the PC.
How can I get both devices to be on the same network, without an intermediate connection (e.g. a router), in a way that preserves my PC's ability to connect to wifi, and that will allow Spacedesk to connect?
Turns out there's this thing called "Mobile Hotspot". Of course I couldn't use this on my tablet, as it had been disabled (thanks Samsung). But you can set it up on Windows easily -- in Windows 10 it's under Settings / Network & Internet / Mobile Hotspot. Connect your tablet to that hotspot and Spacedesk works like a charm.
Huge thanks to SpaceDesk customer support, who were extremely helpful in troubleshooting this apparently rather unusual situation. 5 stars both for the product, which I can now use anywhere, and the customer service.
Wifi tethering is possible with the tab A but only on android versions 6.x and below. it can be turned on via usb tethering enabling apps found in the app store that take you to the options in the settings of your device, these options appear to just be hidden in versions lower than 7 but removed in android 7 for whatever reason as the same apps just take you to an empty screen when used with 7.
If you have already upgraded to android 7.0 or above, and having spacedesk work with minimal lag is important to you, then I suggest you roll back youre tablet android version using Odin. This is what I've had to do after updating my tablet today (google it, there's plenty of guides out there)
TBH spacedesk is just poop over wifi. With USB you can watch video no problem
I tried the advice suggested here of using the mobile hotspot on my Windows 10 PC and used an old android tablet to create the extended screen to my PC using the suggested SpaceDesk app and it worked great! The download for Spacedesk for your Windows 10 PC is at https://spacedesk.net/ and the android app is in on the Google Playstore. Give it a try; it worked great for me.
I was connected to the internet over the LAN on my WIFI so I had difficulty in connecting the tablet (Samsung Galaxy Tab 3) over USB. My solution to this problem is disconnect your Laptop from the WIFI router from LAN cable as well as WIFI and use the tether option in tablet and connect it to the laptop and now it will work. Now for using the inter connect your Wi-Fi or LAN cable after this.
I tested the #Twiffy solution "Windows 10 hotspot" and worked for me. I disabled the tablet (Galaxy Tab A7) WiFi and the lag ended.

How to browse the localhost on android device?

I try to browse localhost on my samsung device. I connected my device with eclipse via wifi. browsing http://192.1.1.190 I get a "Page not avialable. I remember, some days ago it worked
but on the emulator I am able to browse localhost.
I searched on google not able to find the correct ideas.can any one know about this.
any ideas? regards
I am currently building an Android app on the side and struggled with this problem. One solution here would be to connect your Android phone to a WiFi network which your Android Studio is also connected.
Then, when you debug your app from Android Studio, the phone should be able to access the IP address corresponding to localhost.
Yes i connect android device with wifi.but my laptop wifi ip and device ip is showing different ip numbers.so i cant able to access the localhost on android device especially.

Connecting to host from Android via USB

Okay so here is the background of this problem. I commute a lot on the train and build a lot of PHP web apps optimized for mobile devices. I would like to develop code on a netbook (Running Ubuntu Server) with no GUI. All development done using Vim directly on the netbook.
I would like to connect up my Nexus 4 to the netbook via USB and "connect" to the netbooks web server in the chrome browser. I can only use USB for this since I won't be having any reliable internet access.
I understand that using adb from the Android SDK, you can forward a port from the netbook to the phone. However, I need to do it the other way around.
For example:
Run a web server on the netbook on port 4000
Connect phone via USB
Somehow forward port 4000 on the phone to port 4000 on the netbook
Open chrome browser on phone and go to localhost:4000.
I am aware of the "reverse port forwarding" method that is described in the Google docs at https://developers.google.com/chrome-developer-tools/docs/remote-debugging. However, this requires an installation of chrome on the netbook. I don't want to have to install an entire GUI just for this.
Update
With regards to the above, I have found https://groups.google.com/a/chromium.org/forum/m/#!topic/chromium-reviews/7mE61hDcFdA. Does this mean I could install Chrome on the netbook (even though I don't have a GUI) and port forward via CLI?
An APP might do the job here. If you know some java you might be able to pull it off. Basicly you tunnel a connection through adb, then use an app as proxy and a small program on the computer. There might be an easier way though

My App works over WiFi. But not over 3G in android? Any Guesses?

I have developed an App that target version is 4 (Android 1.6) upto 7 (Android 2.1). I tested this app on the dev phone 2 (Google-Io-Device 1.6 version). I am doing some xml parsing stuff through Internet. i set the <uses-permission> on my Manifest. it works fine in WI-FI Network. But its not working in the Motorola Droid 2.1 with 3G Network. Is there any more specific stuff to do for 3G network? Any Idea?
Thanks in advance.
Edit:
My App works over WiFi Network. But not over 3G Network. Any Guesses?
Only android.permission.INTERNET. It's most likely that the server you're connecting to is only accessible from your local network, if it's behind a router/firewall. An easy test is to try to open the same URL you're trying to hit in the system Browser app.
It'd also be helpful to see the traceback from logcat.

Access LAN on Android without wifi

I'm working on a web-app at work, and would like to access my development computer from my HTC Hero device. Preferably linux, but I have access to windows and mac computers. The emulator can debug locally, and helps a lot, but it's not good enough to debug real touch-events.
Ad-hoc wifi will breach our strict network policy. No matter how strict key or MAC-address restrictions it has.
Have anyone found a way to access the LAN through USB or Bluetooth? Bluetooth might be on the edge of our rules, but I will accept it as a solution if it's possible.
I'm not looking for Tethering, but rather the opposite.
I think you can use adb ppp in combination with nc to set up what you need. This guy uses his laptop's internet connection over usb on his phone.

Categories

Resources