I was wondering how i would be able to a local host website that i am developing from my windows website on my iphone - html

I have tried doing this by entering the IPv4 Address that I got from my windows machine from the command prompt under "wireless LAN adapter wi-fi" on my mobile phone (iPhone) but this never works. Any help would be greatly appreciated.

Take a look at ngrok.
ngrok exposes your local servers to public internet.

Firstly, make sure your windows and iphone are under the same WLAN. Then expose the specific firewall port you use or stop the firewall temporarily. Now you can access website winip:port using your iphone.

Related

how can i see my html file on mobile device using live server in vscode?

I'm using windows10 pro on PC and android on mobile. and i followed this process below.
Why can't I enter the url on my phone's browser to view my live site?
127.0.0.1 is a special-purpose IPv4 address reserved for loopback purposes. That is, this IP refers to >your computer itself.
By entering http://127.0.0.1:5500/index.html in your browser, you're requesting web page within your >computer.
In normal case, your computer will be in a NAT network (under same wi-fi AP for instance), and you'll be >assigned with a virtual IP. Normally it's 192.168.x.x.
You may enter the following command in your command prompt to see your IP address.
ipconfig
As a result, under your network interface card, you'll get your IP Address.
If the IP address belongs to virtual IP, then you may access it with your phone using
http://< Your IP Address >:5500/index.html
If it's not virtual IP, it is Public IP. Then, you'll have to configure appropriate Firewall settings >under this circumstance.
Hope this will help.
then i'm done this : Control Panel -> Windows Defender Firewall -> Allow an app or feature through Windows Defender Firewall -> Allowed "code.exe" app.
but on my mobile device, There is still ERR_ADDRESS_UNREACHABLE. and i also followed official instruction. still not work on my mobile device..
is there another method?
just connect your mobile with your laptop/PC hotpot and go to cmd and type config and take your IP ADDRESS and just put your server IP ADDRESS in browser it will run:)
oh i found it!!!! if there is anyone who use public wifi don't do that... it works on only private wifi.. Thank you everyone for helping me i love you guys!!!!

How can I open an html & css file on my Macbook on my iPhone?

I'm making a website (html & css) on my Macbook that's just on localhost.
I'm looking to be able to easily open the website on my iPhone for testing.
Does anyone have any neat ideas on how I can do this?
If this is not the right type of question to ask here would someone be so kind enough to point me to an appropriate forum?
Ensure that the two devices are on the same network, make sure that the HTTP server isn't just listening on the loopback interface, then just replace localhost in the URL with the IP address or hostname of the Macbook and load that on the phone's browser.

Remote Debugging won't connect

I sort of make shift followed this guide on how to setup remote debugging. Since I am using Adobe Animate to compile my app I assume it has done the majority of the build steps already as I get a similar screen described.
I don't understand though. Here I have port forwarding up on my router so that it goes to my PC. I have TCP port 7935 up and open. Windows firewall on or off doesn't seem to make difference. Windows firewall even prompted me to allow or deny fdb after I ran it. I can't get my phone to connect via remote debugging. I want to be able to send this to my client who is having issue with the app so I can see what's going on under the hood instead of relying on a giant sum of try/catch statements and screenshots. Any help?
I tried a dummy domain and it seems to know that it can't connect to it. When I try mine or my IPv4 it doesn't let me connect. It just freezes up the app.
I don't know whether it works or not in Animate CC, but it works via Flash Builder. I'm using Android real device and I have Android SDK tools installed on my PC
Yes, I have followed that tuts from official Adobe docs, but that doesn't work
First: Simply connect your device to your PC
Actually , you can debug your app remotely as long as your device has been connected with your PC. This step, doesn't necessarily requires FDB.
In my case , all I need was things like
adb connect 192.168.xx.xx:port
this will connect your Android device with your PC on your default network .
Second, set debug setting over network
You've done it in Animate CC, with addition you might want to check "install application on the connected device'
Third, just debug as usual
You can get all those debugging stuff including traces

Need to develop a Web page to run on my mobile

I have created an HTML page on my PC and I need to run it in my mobile for testing. I have deployed it in TOMCAT and I run it using http://IP ADDRESS (192.something.something.something):port/index.html
I can't access it outside my home network. I want to know do I need to add something to make it run outside my home network on other mobile phones..? I am confused.. Everything is new for me. Will appreciate any help. Thanks
You may need to check the config settings from your internet service provider to make sure that the Port is open and you are not blocking outside connections via the port or IP address.
Go to your browser and type in your IP address, this should take you to your router settings and check the settings there.
Good luck!

How to use Android mobile as Remote control for wifi enabled raspberry pi car , without using any access point/wifi router

i want to connect my android mobile with raspberry pi so that i can send some data from pi to mobile through UDP sockets and vice versa. This is because i want to use android screen as remote control , some rPI data display and live video view of pi camera output from android web browser. i am interested to use wifi connection but without using any access point/wireless router in between i.e i want to create a peer to peer wifi adhoc network. in home with access network this will work , but its not possible to have wireless network or carry wireless router where ever the pi go.
for prototyping purpose i tried creating Adhoc wifi network in windows vista but my mobile didnt detect the wifi possibly because the frequency of the wifi network cant be recognised by android. i tried wifi direct feature of my galaxy Note2 (android jelly bean) but i seems to work with only samsung specific phones. it didnt work with nexus 4 neither with windows vista.
so i am quite sure that none of the above technique will work with raspbian OS.
any idea how to achieve my requirements. if connecting raspberry pi with android by USB to microUSB cable will solve the purpose , please let me know how.
Thanks
agoswami
as of now i have used USB/Wifi tethering method which has worked for me.i first tried with USB tethering , it was assigning some IP to Rpi. i changed the /etc/network/interfaces file so that this IP remain static. i used android Ip address as gateway and was able to ping them and even i was able to SSH from connectBot app.
i think the same approah will work for wifi also. i will give it a try later.
this discussion can be closed now :) my issue was resolved.