LemonInflux Posted December 4, 2007 Share Posted December 4, 2007 I googled it, and found that I should use *IP*:*PORT*, but that didn't work. I tried *IP*/localhost, didn't work. I tried *IP*/folder_in_localhost, but that didn't work, and that was all I found in google. I'm running windows; how do I do this? Link to comment https://forums.phpfreaks.com/topic/80087-access-remote-localhost/ Share on other sites More sharing options...
PFMaBiSmAd Posted December 4, 2007 Share Posted December 4, 2007 How do you do what? Please explain the where and what you are trying to do. localhost only has meaning on the computer you are on. Any reference to localhost resolves to the local loop back IP 127.0.0.1 Link to comment https://forums.phpfreaks.com/topic/80087-access-remote-localhost/#findComment-406042 Share on other sites More sharing options...
LemonInflux Posted December 4, 2007 Author Share Posted December 4, 2007 I have my home pc with XAMPP. I want to access it remotely. How is this achieved? Link to comment https://forums.phpfreaks.com/topic/80087-access-remote-localhost/#findComment-406128 Share on other sites More sharing options...
trq Posted December 4, 2007 Share Posted December 4, 2007 I told you in your other thread. Link to comment https://forums.phpfreaks.com/topic/80087-access-remote-localhost/#findComment-406134 Share on other sites More sharing options...
trq Posted December 4, 2007 Share Posted December 4, 2007 Oops, sorry, that must have been someone else. If Apache is setup and running properly locally all you need do is make sure your router (assuming you have one) allows port forwarding of port 80 to the machine running Apache. You might also want to look into a service such as http://dyndns.org to get yourself a domain name instead of having to access the site via an ip. If you dont want to use such a service, then your site will be available via your ip address. Link to comment https://forums.phpfreaks.com/topic/80087-access-remote-localhost/#findComment-406140 Share on other sites More sharing options...
LemonInflux Posted December 5, 2007 Author Share Posted December 5, 2007 so if I type my IP address as a url, it'd go to my localhost, assuming that I'm set up to my router? If so, why isn't it working? :/ Link to comment https://forums.phpfreaks.com/topic/80087-access-remote-localhost/#findComment-406684 Share on other sites More sharing options...
tomfmason Posted December 5, 2007 Share Posted December 5, 2007 Most routers have port forwarding/triggering. My old router had it hidden under applications and gaming. You will need to forward port 80 to your machine, assuming port 80 is not blocked by your isp. Link to comment https://forums.phpfreaks.com/topic/80087-access-remote-localhost/#findComment-406737 Share on other sites More sharing options...
trq Posted December 5, 2007 Share Posted December 5, 2007 Also, it is highly unlikely that typing your wan (the one visiable to the internet) ip address from within your lan (behind your router) will bring up your server. You will need to test this from another machine on the internet. Link to comment https://forums.phpfreaks.com/topic/80087-access-remote-localhost/#findComment-406776 Share on other sites More sharing options...
LemonInflux Posted December 5, 2007 Author Share Posted December 5, 2007 OK then. and I port 80 is ok, because apache runs on it. Link to comment https://forums.phpfreaks.com/topic/80087-access-remote-localhost/#findComment-407088 Share on other sites More sharing options...
tomfmason Posted December 5, 2007 Share Posted December 5, 2007 You may want to look over your ISP's TOS agreement. I would be willing to bet that they have a clause that prevents anyone, other then users with business accounts, from hosting a server. If you have a dynamic ip I would be willing to bet that they have something like that and they could either charge you a higher monthly subscription fee or possibly even suspend your service altogether. Link to comment https://forums.phpfreaks.com/topic/80087-access-remote-localhost/#findComment-407142 Share on other sites More sharing options...
Crew-Portal Posted December 6, 2007 Share Posted December 6, 2007 You may want to look over your ISP's TOS agreement. I would be willing to bet that they have a clause that prevents anyone, other then users with business accounts, from hosting a server. If you have a dynamic ip I would be willing to bet that they have something like that and they could either charge you a higher monthly subscription fee or possibly even suspend your service altogether. Na... Like 1 outta 20 people have some type of server running on thier comp, wether it be a teamspeak, ventrillo, fshost, gaming server, mysql, apache, STMP, or whatever. Only the really cheap companies (ie Dialup) may prevent you from doing these types of things. If your paying the 39.95 per month im not sure if they really care about your bandwidth. But of course i could be wrong! Link to comment https://forums.phpfreaks.com/topic/80087-access-remote-localhost/#findComment-407639 Share on other sites More sharing options...
LemonInflux Posted December 6, 2007 Author Share Posted December 6, 2007 OK, I'll look into it. But I'm not hosting a server, I just want to know how to access it in case at school I want to show my tutor what I'm doing. Link to comment https://forums.phpfreaks.com/topic/80087-access-remote-localhost/#findComment-407676 Share on other sites More sharing options...
LemonInflux Posted December 6, 2007 Author Share Posted December 6, 2007 I looked on my internet hoster's site ( http://www.orange.co.uk ) and found nothing. Does this mean I'm ok? Link to comment https://forums.phpfreaks.com/topic/80087-access-remote-localhost/#findComment-407678 Share on other sites More sharing options...
trq Posted December 6, 2007 Share Posted December 6, 2007 OK, I'll look into it. But I'm not hosting a server, I just want to know how to access it in case at school I want to show my tutor what I'm doing. That is hosting a server. To be honest though, Ive never seen a TOS for an isp that mentions this. Most isps don't consider there clients to be that clever. Link to comment https://forums.phpfreaks.com/topic/80087-access-remote-localhost/#findComment-407899 Share on other sites More sharing options...
Daniel0 Posted December 6, 2007 Share Posted December 6, 2007 To be honest though, Ive never seen a TOS for an isp that mentions this. I have had a such ISP, and it sucked. Link to comment https://forums.phpfreaks.com/topic/80087-access-remote-localhost/#findComment-407932 Share on other sites More sharing options...
LemonInflux Posted December 7, 2007 Author Share Posted December 7, 2007 using my IP as the address didn't work. Any other suggestions? Link to comment https://forums.phpfreaks.com/topic/80087-access-remote-localhost/#findComment-408965 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.