Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Greetings, I have searched through the similar questions but didn't found an answer. Also I did search on google but nothing relevant that could help me.

I have a desktop with 10.04 ubuntu on it and lamp. The problem is that I want apache to work with IPV4.How do I do that? What exactly do I need to write on my httpd.conf file?

share|improve this question
5  
This is not a question I expected to see for another 5 years or so... –  Matt Simmons May 18 '11 at 12:02

2 Answers 2

By defaul apache should work on ipv4 protocol. check

/etc/apache2/ports.conf

for host and port configuration. also check http://localhost to know if apache is working. if not -- run console and print there

sudo service apache2 start

share|improve this answer

I'm gonna guess that when you access localhost you notice it's running IPv6. This is because /etc/hosts and/or your nameserver points localhost to ::1 and your browser contacts apache this way. Either tell your browser to prefer IPv4 or access 127.0.0.1 through a different hostname which you specify in /etc/hosts or your name server.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.