Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Share 'localhost' over home wi-fi... how?

17 Apr 2018   #1
yankleber

Windows 7 Professional 64bit
 
 
Share 'localhost' over home wi-fi... how?

I have a localhost server set up on my desktop computer that I would like to share through my home wi-fi then I can access it from my mobiles.. I have no idea how to do that though. Any clue?

PS: My desktop computer where the localhost is has an wi-fi USB adapter.

Thanks!


My System SpecsSystem Spec
.
17 Apr 2018   #2
z3r010

 

It may help people if you explained what sort of server you are running on your localhost: web (IIS/Apache), shoutcast, file server, DLNA server.......
My System SpecsSystem Spec
17 Apr 2018   #3
yankleber

Windows 7 Professional 64bit
 
 

Quote   Quote: Originally Posted by z3r010 View Post
It may help people if you explained what sort of server you are running on your localhost: web (IIS/Apache), shoutcast, file server, DLNA server.......
Sorry, my bad... I am using a very simple and straightforward server called "Fenix"
Fenix Web Server | Static Web Servers for the Desktop
My System SpecsSystem Spec
.

17 Apr 2018   #4
z3r010

 

Sorry, I've never heard of that one before, hopefully somebody else will have.
My System SpecsSystem Spec
17 Apr 2018   #5
yankleber

Windows 7 Professional 64bit
 
 

Quote   Quote: Originally Posted by z3r010 View Post
Sorry, I've never heard of that one before, hopefully somebody else will have.
Well, actually I am an idiot because I just found that it has a 'sharing feature' that kind of works. I can see the localhost files listed on my mobile (through wi-fi) but when I tap the main HTML it hangs and after a long while I can see on Chrome debugger that it threw a couple 504 errors (I think that's because I am trying to load a .json extension file through JS). It is not a code issue as it works fine when I load it directly from http://127.0.0.1:81/. I tried to disable my firewall but had no luck.



Would you recommend me a flexible and yet SIMPLE web server for Windows 7? My IIS stopped to work and I didn't have too much success with Apache either. I am a JS developer and am working on an HTML5 app with Phaser framework and everything I need is something to allow me to simulate an online server to test my code. Nothing fancy. Just that.
My System SpecsSystem Spec
17 Apr 2018   #6
samuria

win 8 32 bit
 
 

Depending what you want to use it for there is a mini webserver which can be setup in 3 mins.tinyserver.sourceforge.net
My System SpecsSystem Spec
17 Apr 2018   #7
yankleber

Windows 7 Professional 64bit
 
 

Quote   Quote: Originally Posted by samuria View Post
Depending what you want to use it for there is a mini webserver which can be setup in 3 mins.tinyserver.sourceforge.net
Thank you... I tried it but unfortunately the packages seem to be all broken.
My System SpecsSystem Spec
17 Apr 2018   #8
yankleber

Windows 7 Professional 64bit
 
 

Anyway, never mind! Someone in the HTML5 Dev Forum gave me the steps to do the trick and it was way easier than I supposed... I first figured the local IP of my desktop computer running the localhost. Then it was just to type in the local IP of my desktop computer on the browsers of my mobiles and they instantly found it through wi-fi!

:)
My System SpecsSystem Spec
18 Apr 2018   #9
Alejandro85

Windows 7 Ultimate x64
 
 

"localhost" always refers to "this computer", the one making the connection, so by using localhost you'll only connect to the very same device, no matter what (127.0.0.1 is also equivalent). From a phone point of view, your computer is no longer "local", just another server in the network.

Just use the local IP of your computer as you've suggested (or its name could also work) and it'll work. For both your existing or any other web server.
I very doubt it, but if some JavaScript fails when accessing remotely, it could be a broken piece of code, hardcoding localhost.
My System SpecsSystem Spec
19 Apr 2018   #10
townsbg

Windows 7 pro 64-bit
 
 

Alejandro is correct. You have to enabling sharing on the server and access it on other computers using the server's ip and the application port. Don't forget that you might have to allow the port though windows firewall or any other firewall.
My System SpecsSystem Spec
Reply

 Share 'localhost' over home wi-fi... how?




Thread Tools




Similar help and support threads
Thread Forum
Want to share folders between 2 machines on a home network
I want to share folders between 2 machines on a home network. I have been through all the checks for Homegroup; both machines are connected to the same Workgroup, with the same file-sharing permissions on a wired Home Network, running through the same router with no other apparent issues. Both...
Network & Sharing
Share with Home but not with Work.
Hi, I like the windows 7 feature that you can chose whether you're in a home, work or public network. What I don't understand is why they have grouped home and work together in the "advanced sharing options"! I use my laptop at home and for work, and obviously I would like to share some...
Network & Sharing
how do i share a folder on a workgroup without home share?
i've enabled homeshare and now can't seem to turn it off. All users on the workgroup can see all folders in homeshare. Which isn't what i want i just want to share the documents folder and that's it. ive turned off omeshare and they are all sill showing up. I've also right clicked on the documents...
Network & Sharing
How to network share with home PC running XP?
I just bought a new PC with Windows 7 Professional. I want to keep using my old PC running XP Professional but pretty much have it act like a server where I can access or share it's hard drives with my Windows 7 system and my laptop which is also running XP. I noticed that XP uses the...
Network & Sharing
how do I share info from another home computer
I have two computers both windows 7, one has a program on it that I would like to be able to see and work on in the other computer if poss. what is the easiest way to do this thank you
Network & Sharing


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 03:36.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App