Free Help Setting up Your Router or Firewall Set up your router from home
Router List Port List Port Checker Other Guides Game Guides Store Support Forum
see list of routers and firewalls below

  Welcome, Guest. Please Login or Register
If you ask a question, please answer a question. Help someone out by sharing your knowledge.
  HomeHelpSearchLoginRegister  
 
Pages: 1
Send Topic Print
router does not have loopback support (Read 4410 times)
tedtrp
Global Moderator
*****
Offline

No place like
127.0.0.1 (home)

Posts: 15080

router does not have loopback support
09/12/8 at 11:28:40
 
If your router does not have loopback support, there is a work around.

#1 The location of a certain file varies based upon the OS. Windows, Linux, Mac...
 
See http://en.wikipedia.org/wiki/Hosts_file

b) Don't forget that on Windows, it is HOST. Not, HOST.txt, and don't forgot to restart your computer after you edit that file.

#2 For a domain name, enter in .invalid at the end of your domain name.

So for example your HOST file, will be..

Code:
127.0.0.1   localhost

192.168.1.6   my-domain.com.invalid
 



Replace my-domain.com. with your own domain, if you have a domain. And replace 192.168.1.6 with your LAN IP Address of the computer where the server is at.

#3 If this works, you will know it.

Then in your browser, after restarting the computers (as need be): Use my-domain.com.invalid

PS. Loop back is not Port or Application (program) Specific. As these two example, will show:

In this screen shot, a tool called ping



Here is a screen shot of the start of my HOST file. Also in the screen shot is me, accessing my web server on port 81 by domain name.



Really important! When your computer wants to connect to a computer by domain name, it always reads a domain name in this order.

a) HOST File - if the domain exist in here, your computer does not go to the DNS Cache. It will use the IP address found in the HOST file.

b) DNS Cache - if the domain exist in here, it does not go to the DNS Server or Servers. It will use the IP address found in the DNS Cache.

c) DNS Server (or Servers) - if the domain does not exist in here, you connection will fail.
Back to top
 
« Last Edit: 11/30/8 at 14:39:08 by tedtrp »  

Save your self a lot of time and frustration, read the stickies before posting. Most of them are in the Knowledge Base - Thank you.
  IP Logged
Pages: 1
Send Topic Print