I am running a Rails website on my Windows 8 computer's localhost. I want to try to run the website on my Android tablet. According to this top answer, to access the exact port from another device I must open the localhost port on my computer by adding an inbound rule to my firewall. I'm a beginner and I don't understand how to do this. Could somebody please go over this for me? Thank you.
Related
I've developed a website in my pc and the layout is good in laptop
But i want to see its mobile phone accessing layout ,before hosting.
Please help me in this. Thanks.
You can use developer tootks that are already built in web browsers.
https://developers.google.com/web/tools/chrome-devtools/device-mode/
https://developer.mozilla.org/en-US/docs/Tools/Responsive_Design_Mode
Also if you realy want it to test on actual mobile create wireless connection using hotspot betwen mobile and laptop. Now your PC and mobile will get private IP addresses for this wireless connection.
Check you PC ip address for this connection and configure your webserver to listen on that IP address.
Now you can access your website on mobile with that IP as url and you can check your website layout.
You can Try Google Chrome,
Open Developer Tools
Select Toggle Device Toolbar
Select the device you like to simulate from the toolbar.
Are you running a webserver locally or just editing HTML files and viewing them in your browser?
If you are just opening HTML files in your browser then run a local web server on your computer like http-server.
https://www.npmjs.com/package/http-server
If you are running a web server locally then your phone should be able to hit the same test url if you are on the same network.
I am building an ASP.NET MVC 5 application and I run the server locally and it works fine, but I can't seem to connect to it from an external device.
The URL is localhost:60884 . I navigate with my phone to <internal_IP_address>:60884 and I get a ERR_CONNECTION_TIMED_OUT error.
I have disabled the firewall and I have tried to connect the PC on my phone's WiFi HotSpot, but no success.
Can someone tell me how to solve this?
You should be able to do this by setting it up in project properties. In Visual Studio if you go into the Web tab on the right, there'll be a Start URL you can choose
Whatever address you put in there you should be able to navigate to on your phone, provided you're on the same network. You are likely getting the timeout error because your device can't connect to the server's address at all.
Hope that helps!
I am developing a website on localhost wamp using Wordpress. Today when I tried to open my wordpress account it was displaying an error "This webpage is not available ERR_CONNECTION_REFUSED",also I am not able to see any of my webpages.
I tried using IP address instead and tried to open on other browser like firefox,IE also (initially, I was working on chrome) but nothing worked.
Can anyone please suggest some solution to this??
Skype reserves port 80 for its incoming connection which conflicts with WAMP, so simply configure Skype to use another port by doing the following:
In Skype go to Tools|Options|Advanced|Connection uncheck the option --> Use port 80 and 443 as alternatives for incoming connections, that's it
For this change to take effect restart Skype and Restart all services on WAMP by doing the following:
Left-click WAMP tray icon > Restart All Services"
Now Wamp and Skype can co-exist together, hope this solves your problem!!
Have a look at this post:WAMP Server not working
I am wondering if there's a way to preview my asp.net localhost-website as it would look on another device, such as a mobile phone or pad. I want to do this on my computer, like this https://themes.shopify.com/themes/brooklyn/styles/brooklyn/preview.
I read this thread Viewing localhost website from mobile device but I want to do it directly on my PC.
I recommend BrowserStack or GhostLab
https://www.browserstack.com/
https://responsivedesign.is/resources/testing/ghostlab
Both Easy to configure and setup.
Otherwise if you only want to display in different solutions for different devices there is
http://mattkersley.com/responsive/
I've a guide for your question.
Connect your wifi in mobile.
Open browser.
Enter your localhost project system IP address with colan and add web project folder name. for example, you system IP is 192.168.1.100 and web project directory name is demo, then navigate 192.168.1.100:demo on mobile browser address bar.
you can able to preview your web project in smartphone or tablet.
Another simple method is Try to download opera emulator and test your localhost projects.
Link: http://www.helphin.com/how-to-preview-mobile-site-for-your-localhost-web-projects
Here I posted step by step instruction clearly. I hope it'll work for you./
I am trying to run a website in IIS7 for testing purposes. I can coonnect to it from my local pc typing http://localhost/Webpage1/Default.aspx (or http://localhost to open the default IIS starting page), but i can't connect to it from other computers.
In other similar topics suggestions was to change hosts file in c:\Windows\System32\drivers\etc, but something is not working for me.
Can you please tell me what exactly should i write there and how to connect, if my IP address is 80.233.186.188?
Thanks, Walt
It sounds like you developed this using WebMatrix. That installs IIS 7 Express, instead of IIS 7. It happened to me too, and I solved the problem by following the steps here: http://blog.alirobertson.com/post/11139712138/enabling-non-localhost-access-to-webmatrix