944,035 Members | Top Members by Rank

Apr 27th, 2005
0

local host problem

Expand Post »
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
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
turkyildizi is offline Offline
2 posts
since Apr 2005
Apr 27th, 2005
0

Re: local host problem

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.
Administrator
Staff Writer
Reputation Points: 1422
Solved Threads: 162
The Queen of DaniWeb
cscgal is online now Online
13,646 posts
since Feb 2002
Apr 27th, 2005
0

Re: local host problem

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


Quote 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.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
turkyildizi is offline Offline
2 posts
since Apr 2005
Jun 24th, 2009
0

Re: local host problem

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?
Reputation Points: 10
Solved Threads: 0
Newbie Poster
piapoco is offline Offline
1 posts
since Jun 2009

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Linux Servers and Apache Forum Timeline: SSL breaking... maybe do to scripts???
Next Thread in Linux Servers and Apache Forum Timeline: Force WWW except for Subdomains Issue





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC