<---- template headericclude ----->
localhost ..? problem?
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 5 of 5
  1. #1
    Join Date
    Dec 2009
    Posts
    14
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    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 ..
    Last edited by timesking; 4th December 2009 at 06:29 PM.
    AMD Athlon II X4 620 ..
    Gigabyte GM-785
    40GB, 80GB, 160GB, n 320GB for media storage
    2GB/667MHz
    XP, Windows 7, Fedora 12

  2. #2
    Join Date
    Nov 2006
    Posts
    557
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What error message do you have in your browser?

  3. #3
    Join Date
    Dec 2009
    Posts
    14
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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

  4. #4
    Join Date
    Nov 2006
    Posts
    557
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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.

  5. #5
    Join Date
    Nov 2006
    Posts
    557
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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

Similar Threads

  1. LocalHost login problem
    By cutrums in forum Installation, Upgrades and Live Media
    Replies: 11
    Last Post: 22nd November 2007, 07:11 PM
  2. localhost problem, can't install
    By HeyAZ in forum Installation, Upgrades and Live Media
    Replies: 2
    Last Post: 6th November 2006, 05:14 PM
  3. localhost problem
    By jawadah in forum Servers & Networking
    Replies: 2
    Last Post: 20th September 2006, 08:39 PM
  4. localhost problem
    By tradesman in forum Servers & Networking
    Replies: 23
    Last Post: 10th May 2006, 02:21 PM
  5. Samba Localhost problem
    By darkrain in forum Servers & Networking
    Replies: 3
    Last Post: 10th January 2005, 09:06 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
[[template footer(Guest)]]