Fedora Linux Support Community & Resources Center
  #1  
Old 4th December 2009, 05:16 PM
timesking Offline
Registered User
 
Join Date: Dec 2009
Posts: 14
linuxfedorafirefox
localhost ..? problem?

hey.. this might sound silly but i have no idea on how to solve this.. pls help guys..

i have to run some html, perl, php programs on my fedora.. but itseems i have a localhost problem .. not abe to run any pgms on localhost in Mozilla..? how do i resolve this? (i run usually as http://localhost/pgm3.html)


usually in fedora 6 or previous versions this works .. but m not able to figure out how to do in newer versions ..
__________________
AMD Athlon II X4 620 ..
Gigabyte GM-785
40GB, 80GB, 160GB, n 320GB for media storage
2GB/667MHz
XP, Windows 7, Fedora 12

Last edited by timesking; 4th December 2009 at 05:29 PM.
Reply With Quote
  #2  
Old 4th December 2009, 05:19 PM
CD-RW Offline
Registered User
 
Join Date: Nov 2006
Posts: 557
linuxfedorafirefox
What error message do you have in your browser?
Reply With Quote
  #3  
Old 4th December 2009, 05:24 PM
timesking Offline
Registered User
 
Join Date: Dec 2009
Posts: 14
linuxfedorafirefox
Unable to connect



Firefox can't establish a connection to the server at localhost.

* The site could be temporarily unavailable or too busy. Try again in a few
moments.

* If you are unable to load any pages, check your computer's network
connection.

* If your computer or network is protected by a firewall or proxy, make sure
that Firefox is permitted to access the Web.
__________________
AMD Athlon II X4 620 ..
Gigabyte GM-785
40GB, 80GB, 160GB, n 320GB for media storage
2GB/667MHz
XP, Windows 7, Fedora 12
Reply With Quote
  #4  
Old 7th December 2009, 06:52 PM
CD-RW Offline
Registered User
 
Join Date: Nov 2006
Posts: 557
linuxfedorafirefox
Is the apache web server running? It's called httpd on Fedora.

as root do:

[root] # yum install httpd
[root] # chkconfig --level 2345 httpd on
[root] # chkconfig --list httpd
[root] # apachectl start

See if that works

A nice visual process monitor is:
http://www.student.nada.kth.se/~f91-men/qps/

It will show you if apache, called httpd is running on your machine.
Reply With Quote
  #5  
Old 8th December 2009, 06:49 PM
CD-RW Offline
Registered User
 
Join Date: Nov 2006
Posts: 557
linuxfedorafirefox
There appears to be a bug in the PHP module that crashes apache.

Try uninstalling the php apache module with:

[root]# yum erase php

then do:

[root]apachectl stop
[root]# apachectl start

You should be able to connect to localhost then.

Please see this post for more info:

http://forums.fedoraforum.org/showthread.php?p=1303196
Reply With Quote
Reply

Tags
localhost, problem

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
LocalHost login problem cutrums Installation, Upgrades and Live Media 11 22nd November 2007 06:11 PM
localhost problem, can't install HeyAZ Installation, Upgrades and Live Media 2 6th November 2006 04:14 PM
localhost problem jawadah Servers & Networking 2 20th September 2006 08:39 PM
localhost problem tradesman Servers & Networking 23 10th May 2006 02:21 PM
Samba Localhost problem darkrain Servers & Networking 3 10th January 2005 08:06 PM


Current GMT-time: 07:03 (Tuesday, 21-10-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Cote-Saint-Luc - Molina de Segura Travel Photos on Instagram - Bokaro Photos on Instagram