Web hosting and web development on android - Android General

Hello everyone,
I am starting to get into web development and learning to code. I'd really like to learn how to use my devices for these purposes. I know there are ways to turn my tablet/phone into a web server (KSWEB), however, I am a bit unclear on a few things and not sure where to look or go.
The intent is to use my cell phone as a hot spot and then use my tablet as a web host to serve my laptop (all connected via the cell phone hot spot). I've seen how to access a web site you are hosting from a device on the device itself, but I am not clear on how to access the hosted site from another device WITHOUT a router and port forwarding. For example, let's say I'm at a cafe, I have my cell phone, tablet, and laptop. How can I access the website hosted on my tablet with my laptop through the cell phone? Would I need port forwarding through the cell phone to do this?
The reason why I want to go through my cell phone as a hot spot is so that I can still have internet access (via mobile network) on the laptop and tablet while still able to access the site hosted on the tablet.
Cell phone: Sprint Galaxy Note II (rooted)
Tablet: Galaxy Note 10.1 2014 edition (un-rooted, will root when computer arrives)
Laptop: Dell XPS 15 Touch (ordered)
I apologize if none of this makes sense or if I'm over complicating things. Just trying to get a handle on things before the computer arrives so I can jump right in and begin learning and coding. Also, the reason why I want to host on the tablet (instead of the laptop itself) is so that I can dive into development now while I wait on my computer (won't arrive until mid-march). Figure, I'd just keep the tablet as the hosting source.

When you create a hotspot with your phone, the phone becomes the "router".
So if you laptops IP address is eg. 192.168.0.100, the the phone IP will be "192.168.0.1" (the last octet is always "1" for the router).
Your tablet will be just like the laptop and have its own IP address, eg. 192.168.0.102.
You can connect to it simply by entering its IP address into you laptop. Since they are on the same network it'll just work.

Thanks! I was clearly over thinking it, but this is all new to me.
I'll try this out as soon as I am able. Thank you dev47!

Related

[Q] Tether for a computer that is currently on a network WITHOUT internet access

Well, let me go over the situation and then I will explain in more detail. I know that this question is probably a bit technical and will probably require some knowledge of windows networking in order to tether with my Android. I'm trying to use usb tether from my Nexus one (froyo 2.2) running Rod R4 based off of Cyanogen R3. It works fine on any other computer. I'm trying to tether it to a Windows 7 corporate computer. I would like to get internet on a work computer . The pc at work is hooked to a inTRAnet and is firewalled, and IT is taking FOREVER to get my new login. Even though I don't have admin, I can easily run Firefox portable and hook up my Nexus to the pc with usb tether without a problem. Now HERE is the problem! Firefox keeps looking to the company network to access the internet as opposed to my Nexus usb tether. I have messed around in Firefox connection settings Tool>Options>Advanced>Network>Settings. Tried changing the proxy several times. I was able to stop Firefox from "looking" for internet on the company inTRAnet, but not able to redirect it to my Nexus usb tether. I have used Tmobile proxys and ports, I have used apps such as NetGenie Lite, NetTools,Network Discovery, Network Info II to attempt to find the necessary IP config to proxy, but no luck. Any help would be GREATLY appreciated! I have searched all over Google and XDA but I couldn't find anything even close to this situation. Thank you in advance for any help in the matter.
EDIT: Sorry, I didn't read your post all the way through, sorry. I'm not sure how you'd do that. I'm pretty sure you'd actually need admin to do it, the only way I can think of doing that would be to set your phone's connection as the default one in windows networking. As far as I know, Firefox asks windows what network interface to use. There MAY be a way to change it in the config files, but I don't know how you'd go about doing that (be careful if you're going to mess with them, or else you might break your FF install).
Well from what i know i dont think you would be able to get the computer to set up the virtual connection adapter in the network connections since you have no admin privileges on that computer, What you can however do is get another Portable USB drive or a blank cd-rom disc and set up/burn a live image of the Ubuntu distribution onto it.
(you can find many other live linux set up distributions though...but i prefer Ubuntu)
Then just boot into the BIOS device selection by restarting the computer, select the USB drive/cd-rom disc which contains the live image.
Once you are in the operating system, connect your phone let the system find the phone's network adapter connection and voila, you should have internet access.
This method is sort of a hassle, but would work for many people behind proxies, firewalls, etc in schools, government buildings, and etc.
Just ask if you need a more detailed explanation.

[Q] Anyone use Splashtop?

I need help. I was talking to a guy that claimed to be a developer of Splashtop, which allows you to run your laptop remotely from your tablet. The app was initially created for iphone/ipad, but is available in the Android market. I was so impressed with the app and how fast and seamless it runs your laptop programs that I purchased without question. Well I have a question: how do you connect to it remotely while away from home? I have turned on laptop, turned off auto shut down, and turned on splashtop on the pc. Everytime I have tried to connect away from home I get an "out of reach" message. I have been as little as 5 miles away. If anyone out there has knowledge of what I may be doing wrong please let me know. The guy told me this should work from anywhere just as long as my computer is turned on and running splashtop.
Thanks!!
I use it on my xoom, and it works great, but I haven't tried using it away from home. Hmm, thanks for the heads up, I want to find out too.
Visual360 said:
I use it on my xoom, and it works great, but I haven't tried using it away from home. Hmm, thanks for the heads up, I want to find out too.
Click to expand...
Click to collapse
Yes, great at home, but I can just use my laptop. If I can get it to actually work when I am away from home, then it makes my Xoom THE BEST thing to have! I get so tired of carrying my laptop around, this would help.
stparker38 said:
Yes, great at home, but I can just use my laptop. If I can get it to actually work when I am away from home, then it makes my Xoom THE BEST thing to have! I get so tired of carrying my laptop around, this would help.
Click to expand...
Click to collapse
I'm actually wondering this also. Does anyone have any insight?
Sent from my Xoom using Tapatalk
Yeah i got the splashtop and to make it work outside your home network, you must do port forwarding.
i uninstalled it because now, i keep getting drop connections and if i reconnect, it gives me error saying it is already being accessed by another device. this was both on my home network and accessing it from the outside. it was great but not anymore.
sorry for the rant.
Hmm
For the price it's probably not as good as some of it's competitors, which are closer to 5x the price of this. I would attribute it's lack of quality to the problems such as devices being already connected etc.
As for distance, it makes no difference, the most important thing to do is make sure that if you have a router, it must have the necessary ports forwarded to the computer you want to connect to.
Personally I try to avoid remote desktop and instead try make everything i might want from home accessible via web-apps or various servers.
stparker38 said:
I need help. I was talking to a guy that claimed to be a developer of Splashtop, which allows you to run your laptop remotely from your tablet. The app was initially created for iphone/ipad, but is available in the Android market. I was so impressed with the app and how fast and seamless it runs your laptop programs that I purchased without question. Well I have a question: how do you connect to it remotely while away from home? I have turned on laptop, turned off auto shut down, and turned on splashtop on the pc. Everytime I have tried to connect away from home I get an "out of reach" message. I have been as little as 5 miles away. If anyone out there has knowledge of what I may be doing wrong please let me know. The guy told me this should work from anywhere just as long as my computer is turned on and running splashtop.
Thanks!!
Click to expand...
Click to collapse
I don't have the app so I'm just giving some general comments:
Im assuming it works over wifi?
1) Maybe you need to enter the ip address of your home and name a port? then get the router to port forward to your laptop?
2) If it works over wifi, then if your router has the option set up a VPN. then connect to it when ur away from home - then its exactly as if ur xoom is connected to the local network itself
dro1dfan said:
I don't have the app so I'm just giving some general comments:
Im assuming it works over wifi?
1) Maybe you need to enter the ip address of your home and name a port? then get the router to port forward to your laptop?
2) If it works over wifi your router has the option set up a VPN. then connect to it when ur away from home - then its exactly as if ur xoom is connected to the local network itself
Click to expand...
Click to collapse
Port forwarding is a new concept to me, so not sure how to do it, but you guys have given me a new thing to Google. Also, I did have my internet run through a router, but I disconnected it because I on have my home internet through ATT Uverse and didn't have anything that really needed to run through it. If you have some quick directions for me, then I will be grateful!
Teamviewer
Teamviewer does it away from home. Theres no sound and fluid video tho
I assume this is similar to Wyse Pocket, and i have never had issues connecting via 3G. Is this a better app?
stparker38 said:
Port forwarding is a new concept to me, so not sure how to do it, but you guys have given me a new thing to Google. Also, I did have my internet run through a router, but I disconnected it because I on have my home internet through ATT Uverse and didn't have anything that really needed to run through it. If you have some quick directions for me, then I will be grateful!
Click to expand...
Click to collapse
well your router gets its internet then shares it via with the rest of your computers.
Port forwarding takes all the data from a specific port and forwards it to a specific device.
to start you have to assign ur computer a static ip address (again through your router) then forward all data to it. sorry i cant be more precise but the procedure varies between routers. I have never used the ATT Uverse. Honestly the best thing to do is have a browse thorugh ur manual or google for a guide
try this site to see if your model is listed. if not choose a similar model and try to do similar steps
http://portforward.com/
btucker2003 said:
I assume this is similar to Wyse Pocket, and i have never had issues connecting via 3G. Is this a better app?
Click to expand...
Click to collapse
These apps were made with very different goals in mind...
I use both of these apps for what I believe they were designed for and I'm happy with both. The WYSE PocketCloud app supports RDP / VNC connections but SplashTop doesn't. It's not even really designed for WAN access but rather just LAN access. Yes, unlike PocketCloud you'll need to use port forwarding to use it in the likely unsupported WAN configuration.
SplashTop runs beautifully on my LAN but I don't expect it to work outside those parameters. I think SplashTop has far superior frame rate / audio sync for watching Videos (with / without audio). Is it the optimized support for the Tegra 2? I don't know, but it works and works well. It lets me watch Hulu, NetFlix, etc with rarely a hiccup. PocketCloud can't touch that ATM.
Even though PocketCloud's framerate and audio sync are MUCH worse by comparison to SplashTop making it unusable (even when on my LAN connected by WiFi) for the purpose of watching video through it, I don't begrudge it since I don't believe that's what it's for. It has an awesome UI (I prefer it somewhat over SplashTop's) and works very well over RDP. When the Terminal Services update emerges from closed beta, it will be even more awesome.
These apps probably shouldn't even be compared as they are meant to do different things, different ways. Each works for what they were designed for. Neither is perfect. In my case, both were very easy to setup. Any difficulties I had were caused by my own firewall setup. Neither were expensive IMO.
Has anyone figured out how to connect using mycloud when you are away from home? I've tried port forwarding and the portchecker from portforward.com verifies that my ports are open and are forwarded properly but I still can't seem to connect using my modem's WAN ip.
My modem/router model is smc d3gn and I am connecting directly to it with my computer.
I've also tried using the modem's built in vpn function and I can connect to the vpn (accessing the router setup page from my tablet shows me logged in with a pptp ip so I know that I'm connected but splashtop still refuses to connect.)
Hope someone can figure this out soon... I've tried the experimental locator thing using my gmail account but I'm not sure if it does anything.

Connecting to your Android Phone Anywhere Anytime

Objective: To be able to get atleast a shell anytime you want.
Summary: I want to be able to control my phone from anywhere. Mainly, for the case that the phone is stolen, I want to be able to track it through GPS, operate the camera, download my files, wipe the phone, and make it explode (just kidding )
The Problems: The main issue here is to get a connection to the phone. In both WiFi and 3G. In both cases, the phone can be behind a NAT which will not accept any incoming connections so having a server on the phone will not help.
Secondly, you may also be behind a NAT (and also you do not know where you will be), so a reverse ssh or vnc will not work.
You can attempt a punchthrough, but you need a server, and you need your phone's IP address at the server.
I have tried PAW webserver and WebKey but when running on mobile networks, I am again behind some NAT or some ports are blocked, so I cannot get it to work.
I just want some discussion/research/opinions on how to deal with this and how I can have a constant connection with my phone.
So far, I can see the only way is to have a server somewhere, which can either do a punchthrough, or provide the phone with an IP to which a reverse ssh is opened. But the phone will then need to periodically check the webserver.
What do you guys think?

[Q] WiFi tethering bridge to existing access point

Hi there,
At my girlfriend's house there's an existing WiFi access point for their home network and they also have a bunch of computers wired in with ethernet cable. Mobile reception in the house is terrible but I've found one spot by a window where I can sustain a pretty decent dc-hsdpa link. I'm able to tether my laptop to my phone, the phone creates a new WiFi network ap and my laptop connects to that. That works fine.
The thing is, what I'd really like to do, is to have access to the dc-hsdpa connection from some of the wired computers on her home network. To do that I want to have my phone bridge the house network - via their existing WiFi ap - to the mobile internet connection. I'd like the phone to provide a gateway on the house network that could be manually used from the other computers. (I want to avoid using DHCP or anything as it will disrupt the network for other users.)
I know this is technically possible but I'm struggling to find an application that allows for this functionality. I've spent a good amount of time searching around the internet but to no avail. Does anyone know where I can look or of a suitable application? (My phone is a Samsung Galaxy S4 i9505 flashed to run a rooted variant of the play edition KitKat rom.) I'm happy to pay money.
Cheers, Dave.

Merge Internet (bandwidth aggregation / connection teaming)

Take 2 or more android phones, plug them in via USB, tether via USB.
You now have 2+ Internet connections. Handy when you only Have GPRS or EDGE speeds.
To use this though is a bit more difficult. Here's what I've learnt.
First, you can launch programs telling them to use different interfaces on Windows.
Search for forcebindIP
So you can have one browser running on one simcard and another running on another without the need for 2 laptops.
If you have a remote windows server you can also try
http://www.cisco.com/c/en/us/products/ios-nx-os-software/ppp-multilink-ppp/index.html
If you have windows server on your laptop you can also use multilink which is part of NIC teaming.
Linux is a lot easier with a bunch of options there too.
Let me know how you get on with this if you try it... I'm hoping by sharing this info you might end up helping me before I even get the chance to try it

Categories

Resources