Jump to content

Second Time Installing Mandriva


Pwnious
 Share

Recommended Posts

I think it was a connection error. A few minutes before I tried connecting to Apache, I dowloaded all updates. I thought the connection to the internet was ok. So then I tried to connect to the apache from a nearby computer. And it didn't work, so I went back to the Linux computer and tried to go on google it said google.com couldn't be found....

Now I was really confused, because a few min. before that I could download updates.

So I decided to reconfigure my network settings, so far Thats what I have done. I will post soon if it works.

Edited by Pwnious
Link to comment
Share on other sites

First, can you browse it on your local network without problems?

 

Open a browser on the machine running apache, and type http://localhost into the url bar. Does it show the website? If not, problem with apache not running or something similar. If it does show it, then try to connect from a machine on your network, entering the internal ip of this machine. Eg: http://192.168.1.2 if this is the ip of the apache server. Does that work? If it does then internal is fine.

 

Now start troubleshooting externally, and then you should find that it's either due to port redirection or something else which is why it's not working. Check that the ports are opened on the firewall to allow http connections or whatever you're trying to achieve. Make sure port redirection if you're using this is correct and pointing to the apache server. Also make sure that all ports required are open and redirected to this machine.

Link to comment
Share on other sites

Do you have other machines on your internal network? Can they access using the internal ip of the apache server? Eg:

 

http://192.168.0.2

 

if this is the ip of the apache server. Make sure you do it from another machine, and not on the machine running apache. Forget the external internet testing until you've tested completely inside your LAN.

Link to comment
Share on other sites

No, a reinstall is not necessary. You've still not replied to say whether you have checked INTERNAL access from another machine as I have posted twice now. I don't know why I bother to assist if it goes ignored.

 

If you have shorewall running on the apache server, stop it and try to connect to the machine using it's IP address and not localhost, since we've already seen that this works.

 

service shorewall stop

 

and then get on another machine and then enter http://ipaddress_of_apache_machine/

 

does it work? If it does, then this means that your machine is enable to accept external http requests within your internal network. Now restart shorewall:

 

service shorewall start

 

and check again, does it block it on your internal LAN? If this is so, then shorewall needs to be configured to allow http access or what other ports you want to allow access to.

 

Once you've done that, then move on to checking your router, and that all the ports required on the router are redirecting to your apache machine's ip address.

Link to comment
Share on other sites

OK, i would suggest you have a problem with the network card in your machine if it will not browse internally across your local network.

 

Can you ping it? Also, on the apache server, type this:

 

netstat -tan

 

and post back what ports it is listening on.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...