local host problem

Reply

Join Date: Apr 2005
Posts: 2
Reputation: turkyildizi is an unknown quantity at this point 
Solved Threads: 0
turkyildizi turkyildizi is offline Offline
Newbie Poster

local host problem

 
0
  #1
Apr 27th, 2005
Hello
I have 3 computer network and I installed apache on the server and working properly (http://localhost). but when I try to reach another computer in the network using http://localhost or http://127.0.0.1 or ip address of server, I receive
"Forbidden
You don't have permission to access / on this server.
apache/1.3.22 Server at hawking.tesam.com.tr Port 80"
message How can I access to this server
Thanks for your reply
H
Reply With Quote Quick reply to this message  
Join Date: Feb 2002
Posts: 12,035
Reputation: cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light 
Solved Threads: 128
Administrator
Staff Writer
cscgal's Avatar
cscgal cscgal is offline Offline
The Queen of DaniWeb

Re: local host problem

 
0
  #2
Apr 27th, 2005
The hostname "localhost" is actually an alias which always refers to the local computer (local host). No matter where you access localhost, you'll be accessing the curent machine you're using at the time. 127.0.0.1 is the IP alias for localhost - they all mean the same thing.

What you will need to access your machine from elsewhere is an external IP (preferably static) that was assigned either by your router (to access your computer from other sites within your network) or by your ISP.
Dani the Computer Science Gal
Follow my Twitter feed! twitter.com/daniweb
Reply With Quote Quick reply to this message  
Join Date: Apr 2005
Posts: 2
Reputation: turkyildizi is an unknown quantity at this point 
Solved Threads: 0
turkyildizi turkyildizi is offline Offline
Newbie Poster

Re: local host problem

 
0
  #3
Apr 27th, 2005
Dear Admin
In fact I just found the solution. in httdf.con file I ve changed the access type from "allow from localhost 127.0.0.1" to "allow from all" so when I change this access type I can reach the web page in intranet using server's ip address.
P.S;I know that changing this access type is dangereous for security but Im using apache in intranet
Thanks for your reply
Best
Hakan


Originally Posted by cscgal
The hostname "localhost" is actually an alias which always refers to the local computer (local host). No matter where you access localhost, you'll be accessing the curent machine you're using at the time. 127.0.0.1 is the IP alias for localhost - they all mean the same thing.

What you will need to access your machine from elsewhere is an external IP (preferably static) that was assigned either by your router (to access your computer from other sites within your network) or by your ISP.
Reply With Quote Quick reply to this message  
Join Date: Jun 2009
Posts: 1
Reputation: piapoco is an unknown quantity at this point 
Solved Threads: 0
piapoco piapoco is offline Offline
Newbie Poster

Re: local host problem

 
0
  #4
Jun 24th, 2009
I have a problem similar to this. My website (development stage) depends on http://localhost. Now I'm beginning to use Zend Server, which forces the server to use http://localhost:10083. How can I use this new combination without changing all my code? Something in the way of an alias?
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Linux Servers and Apache Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC