Local host not wroking

My webSharing is no longer working, I always get a "Safari can’t connect to the server." error message when using http://localhost/, http://127.0.0.1 or the address in the network preference.
Apache seems to be running and is not showing any error message when doing an apachectl configtest.
What's wrong ?
Also is there a way to revert the network address to the default of 127.0.0.1 ?
Where do I do it ?
Thanks in advance for any info.

Ouch - i had a couple of typos in there - sorry about that.
I can't edit it for some reason, so let me repost correctly:
It may be a stale lock file if it thinks it's running but isn't binding to the port (may not actually be running).
Try this:
sudo apachectl stop
ls /var/log/apache2
... see what files are in there. Should just be a start log and an error log. If you see a lock file, remove it (sudo rm /var/log/apache2/filename).
If not, then open a second terminal window and run:
sudo tail -f /var/log/apache2/error_log
and in the first try starting apache back up (sudo apachectl start).
See if any errors are showing up.
Finally, see if it's in the process list:
ps -aef | grep -i http
Michael

Similar Messages

  • Maverick Local Host Not Working Correctly

    Hello,
    I recently upgraded to Maverick 10.9.2. Now my local host is working incorrectly? Now when I try to access one of my sites on my local machine, it just shows the php code and not loading the pages? I also restored httpd.conf~previous to httpd.conf, and still the same issue?
    Also
    * Web sharing is on
    *PHP is enabled
    *Mysql is running
    Did I mis something?
    Thanks JR

    Hello,
    I recently upgraded to Maverick 10.9.2. Now my local host is working incorrectly? Now when I try to access one of my sites on my local machine, it just shows the php code and not loading the pages? I also restored httpd.conf~previous to httpd.conf, and still the same issue?
    Also
    * Web sharing is on
    *PHP is enabled
    *Mysql is running
    Did I mis something?
    Thanks JR

  • How do I change an IP address of SQL Server which is locally hosted and is not on cluster?

    Hi All,
    How do I change an IP address of SQL Server which is locally hosted and is not on cluster?
    I am asking about IP for SQL Server, is there a way we can assign a different IP to SQL Server other than the server's(host) IP address? like the same what we do in a clustered env.
    aa

    Full explanation can seen here:
    SQL Server: Configure Listening IP, Port, and Named pipe
    http://ariely.info/Blog/tabid/83/EntryId/151/SQL-Server-Configure-Listening-IP-Port-and-Named-pipe.aspx
    [Personal Site] [Blog] [Facebook]

  • Local node not included in the list of host names for grid installation

    I'm attempting to install clusterware on Solaris 11 on 2 nodes. I've tried tweaking the /etc/hosts file in a few different ways by including the fully-qualified name and without it for the localhost, but it still gives me this error every time. The runcluvfy.sh script doesn't run on Solaris 11. Does anyone know how to get around this problem?
    I've tried this using the silent install and with OUI, but got the same error both ways. This is the format of the node names:
    oracle.install.crs.config.clusterNodes=myLocalNode:myLocalNode-vip1,myOtherNode:myOtherNode-vip2
    [FATAL] [INS-40907] Local node not included in the list of host names for grid installation.
    CAUSE: The local node (the node where you are running the installer) was missing from the list of host names you provided.
    ACTION: Include the local node in the list of host names for grid installation.
    Edited by: 982828 on Jan 18, 2013 1:18 PM

    Hi,
    what Oracle Version are you trying to install?
    Best to directly start with 11.2.0.3 and look in MOS for certification, hints requirements.
    Regards
    Sebastian

  • I can not connect to my newly installed local host cf server 9:

    I can not connect to my newly installed local host cf server 9:
    Oops! Firefox could not connect to 127.0.0.1:8500
    Suggestions:
    Try reloading: 127.0.0.1:8500/CFIDE/administrator/monitor/index.cfm
    Search on Google:
    can you help? same message with all 127.0.0.1:8500
    urls, data or server admin....
    Forta I 8/Edition files work with CF SERVER 9?

    I have the same problem, on my primary computer (Windows XP Pro , but the cause may be different from what 123polis123 had.
    It seems that the installer installed the Enterprise Multiserver configuration instead of the built in server.
    Note that I installed sucessfully on my laptop (Windows XP Home), using the same install parameters.
    I chose the "Server configuration" which has a self contained server tunning a single instance with an embedded JEE server.  After running though all the installation screens, before proceeding with the actual installation, the installer reported the following:
    Installation Type:
      Server configuration
    Licensing:
      Developer Edition
    Installation Directories:
      Product: C:\ColdFusion9
      Web root: C:\ColdFusion9\wwwroot
    Server Information:
      Web Server: Built-in web server
      Port: 8500
      ODBC Services: installed
      Search Services: installed
      ColdFusion Solr Search Services: installed
      Microsoft .Net version: v 2.0.50727
      .NET Java Port: 6085
      .NET Client Port: 6086
      Documentation: installed
      RDS: enabled
    Disk Space Information (for Installation Target):
      Required: 1,089,069,939
      Available: 7,387,262,976
    The installation proceeded without a hitch, except at the end when the browser is supposed to come up with the admin configuration page it can't find the server.  Port 8500 is open. I fiddled around awhile to see what the problem was.  I installed on the other computer which went fine - the only difference is that the .NET version is 1.1.4322.   I then re-installed, without uninstalling, on the problem computer.  When the installer got to the screen where I select the server configuration, Enterprise Multiserver configuration was selected and it was not possible to select onything else.   I uninstalled and re-installed.  Same thing happened.
    The processes running included: k2admin.exe, k2index.exe, k2server.exe and CFDotNetsvc.exe.   The processes on the sucessful install included cfp.exe and cfupdate.exe.
    Note that I had installed Eclipse and the CFEclipse plugin before installing CF9.

  • Auto Sync Files not working with Local Host

    Hi,
    I am developing a site locally and testing on a local host. I have my working files in Adobe cloud and then 'upload' to my local host to test.
    This works fine when I click upload, or control+shift+u, but its extremely annoying.
    I have checked the box that says 'automatically upload files to server on save' but it doesn't do it.
    The only thing I can think of it that it has to be an actual live server? Nothing else can explain it. My setting are fine and like I said, doing it manually works no problem.
    I have the most recent version of DW CC
    Thanks,
    Jake

    Hi,
    I am developing a site locally and testing on a local host. I have my working files in Adobe cloud and then 'upload' to my local host to test.
    This works fine when I click upload, or control+shift+u, but its extremely annoying.
    I have checked the box that says 'automatically upload files to server on save' but it doesn't do it.
    The only thing I can think of it that it has to be an actual live server? Nothing else can explain it. My setting are fine and like I said, doing it manually works no problem.
    I have the most recent version of DW CC
    Thanks,
    Jake

  • CSS works on local host but not when ftp to server

    I am completely stumped. I have a site I built on a development platform in XAMPP. The jQuery lightbox css styling works great. I FTP the files to the server and the css styles are no longer being applied. I hope someone can help me. The link to the stylesheet works. No changes in code. I just can figure it out. Same issue all browsers. Thanks
    The url sample page is here:
    _css/colorbox.css
    http://192.185.137.91/~gothicarch/acrylic-panels.htm
    Local Host
    Sever

    Nevermind. I had mistakenly deleted a directory on the server that was kind of important: Thankfully I had a backup:)

  • Cisco ASA 5505 Cannot ping local traffic and local hosts cannot get out

    I have, what I believe to be, a simple issue - I must be missing something.
    Site to Site VPN with Cisco ASA's. VPN is up, and remote hosts can ping the inside int of ASA (10.51.253.209).
    There is a PC (10.51.253.210) plugged into e0/1.
    I know the PC is configured correctly with Windows firewall tuned off.
    The PC cannot get to the ouside world, and the ASA cannot ping 10.51.253.210.
    I have seen this before, and I deleted VLAN 1, recreated it, and I could ping the local host without issue.
    Basically, the VPN is up and running but PC 10.51.253.210 cannot get out.
    Any ideas? Sanitized Config is below. Thanks !
    ASA Version 7.2(4)
    hostname *****
    domain-name *****
    enable password N7FecZuSHJlVZC2P encrypted
    passwd 2KFQnbNIdI.2KYOU encrypted
    names
    interface Vlan1
    nameif Inside
    security-level 100
    ip address 10.51.253.209 255.255.255.248
    interface Vlan2
    nameif Outside
    security-level 0
    ip address ***** 255.255.255.248
    interface Ethernet0/0
    switchport access vlan 2
    interface Ethernet0/1
    interface Ethernet0/2
    shutdown
    interface Ethernet0/3
    shutdown
    interface Ethernet0/4
    shutdown
    interface Ethernet0/5
    shutdown
    interface Ethernet0/6
    shutdown
    interface Ethernet0/7
    shutdown
    ftp mode passive
    dns server-group DefaultDNS
    domain-name *****
    access-list No_NAT extended permit ip 10.51.253.208 255.255.255.248 10.1.7.0 255.255.255.0
    access-list No_NAT extended permit ip 10.51.253.208 255.255.255.248 host 10.1.10.250
    access-list No_NAT extended permit ip 10.51.253.208 255.255.255.248 host 10.1.3.200
    access-list No_NAT extended permit ip 10.51.253.208 255.255.255.248 host 10.1.3.9
    access-list No_NAT extended permit ip 10.51.253.208 255.255.255.248 host 10.10.10.14
    access-list No_NAT extended permit ip 10.51.253.208 255.255.255.248 host 10.10.10.15
    access-list No_NAT extended permit ip 10.51.253.208 255.255.255.248 host 10.10.10.16
    access-list No_NAT extended permit ip 10.51.253.208 255.255.255.248 10.1.9.0 255.255.255.0
    access-list No_NAT extended permit ip 10.51.253.208 255.255.255.248 10.10.9.0 255.255.255.0
    access-list No_NAT extended permit ip 10.51.253.208 255.255.255.248 ***** 255.255.255.240
    access-list Outside_VPN extended permit ip 10.51.253.208 255.255.255.248 10.1.7.0 255.255.255.0
    access-list Outside_VPN extended permit ip 10.51.253.208 255.255.255.248 host 10.1.10.250
    access-list Outside_VPN extended permit ip 10.51.253.208 255.255.255.248 host 10.1.3.200
    access-list Outside_VPN extended permit ip 10.51.253.208 255.255.255.248 host 10.1.3.9
    access-list Outside_VPN extended permit ip 10.51.253.208 255.255.255.248 host 10.10.10.14
    access-list Outside_VPN extended permit ip 10.51.253.208 255.255.255.248 host 10.10.10.15
    access-list Outside_VPN extended permit ip 10.51.253.208 255.255.255.248 host 10.10.10.16
    access-list Outside_VPN extended permit ip 10.51.253.208 255.255.255.248 10.1.9.0 255.255.255.0
    access-list Outside_VPN extended permit ip 10.51.253.208 255.255.255.248 10.10.9.0 255.255.255.0
    access-list Outside_VPN extended permit ip 10.51.253.208 255.255.255.248 ***** 255.255.255.240
    pager lines 24
    mtu Outside 1500
    mtu Inside
    icmp unreachable rate-limit 1 burst-size 1
    icmp permit any Outside
    no asdm history enable
    arp timeout 14400
    global (Outside) 1 interface
    nat (Inside) 0 access-list No_NAT
    route Outside 0.0.0.0 0.0.0.0 ***** 1
    timeout xlate 3:00:00
    timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 icmp 0:00:02
    timeout sunrpc 0:10:00 h323 0:05:00 h225 1:00:00 mgcp 0:05:00 mgcp-pat 0:05:00
    timeout sip 0:30:00 sip_media 0:02:00 sip-invite 0:03:00 sip-disconnect 0:02:00
    timeout sip-provisional-media 0:02:00 uauth 0:05:00 absolute
    aaa authentication enable console LOCAL
    aaa authentication serial console LOCAL
    aaa authentication ssh console LOCAL
    http server enable
    no snmp-server location
    no snmp-server contact
    snmp-server community *****
    snmp-server enable traps snmp authentication linkup linkdown coldstart
    crypto ipsec transform-set DPS_Set esp-3des esp-md5-hmac
    crypto map DPS_Map 10 match address Outside_VPN
    crypto map DPS_Map 10 set peer *****
    crypto map DPS_Map 10 set transform-set *****
    crypto map DPS_Map interface Outside
    crypto isakmp enable Outside
    crypto isakmp policy 10
    authentication pre-share
    encryption 3des
    hash md5
    group 2
    lifetime 28800
    crypto isakmp policy 65535
    authentication pre-share
    encryption 3des
    hash sha
    group 2
    lifetime 86400
    telnet timeout 5
    ssh 0.0.0.0 0.0.0.0 Outside
    ssh timeout 60
    console timeout 0
    management-access Inside
    username test password P4ttSyrm33SV8TYp encrypted
    tunnel-group ***** type ipsec-l2l
    tunnel-group ***** ipsec-attributes
    pre-shared-key *
    class-map inspection_default
    match default-inspection-traffic
    policy-map type inspect dns preset_dns_map
    parameters
      message-length maximum 512
    policy-map global_policy
    class inspection_default
      inspect dns preset_dns_map
      inspect ftp
      inspect h323 h225
      inspect h323 ras
      inspect netbios
      inspect rsh
      inspect rtsp
      inspect skinny
      inspect esmtp
      inspect sqlnet
      inspect sunrpc
      inspect tftp
      inspect sip
      inspect xdmcp
    service-policy global_policy global
    prompt hostname context
    Cryptochecksum:8d0adca63eab6c6c738cc4ab432f609d
    : end
    1500

    Hi Martin,
    Which way you are trying. Sending traffic via site to site is not working or traffic which you generate to outside world is not working?
    But you say ASA connected interface to PC itself is not pinging that is strange. But try setting up the specific rules for the outgoing connection and check. Instead of not having any ACL.
    If it is outside world the you may need to check on the NAT rules which is not correct.
    If it is site to site then you may need to check few other things.
    Please do rate for the helpful posts.
    By
    Karthik

  • Is there a way to run using local host ip (127.0.0.1)?

    I am trying to get a working system at home. Obviously I cannot use a dialup
    dynamic IP address, but is there a way to enable iAS 6.0 SP3 to use the
    local host address of 127.0.0.1?
    kas.exe complains 'value of admin host in registry is invalid (localhost IP
    is not acceptable)'. I am running Windows 2000 and I do have a network card
    that I sporadically use to connect a laptop. It appears that with Windows
    2000, I can not use my Ethernet cards PI address unless I actually have it
    connected to a network.
    Any assistance would be appreciated.
    Thanks,
    Bret Hansen

    Yes. Use the loopback adapter.
    Bret Hansen wrote:
    I am trying to get a working system at home. Obviously I cannot use a dialup
    dynamic IP address, but is there a way to enable iAS 6.0 SP3 to use the
    local host address of 127.0.0.1?

  • How to set up a JSP local host server?

    I am trying to set up a local host JSP server, do you know any good youtube or tutorials in general that would help me set up a local host JSP server? Or could you post the steps here and your source (if any).
    I am looking for something similar to XAMPP as in this youtube tutorial: http://ca.youtube.com/watch?v=KWRB-maTVyM&feature=rec-fresh However, any help would be greatly appreciated.
    By the way, I am very new to JSP and was wondering, XAMPP includes Apache, is Apache a JSP server?
    -Direction needed.
    Edited by: watwatacrazy on Aug 31, 2008 6:51 AM

    You need a Java web container to run JSP/Servlets. A commonly used one is Apache Tomcat. It is not the same as Apache HTTP Server which can only serve static files.
    You can find Tomcat here: [http://tomcat.apache.org].
    How to install/use it, just check the User Guide: [http://tomcat.apache.org/tomcat-6.0-doc/index.html].

  • Do I need to have my site uploaded to a remote host for embeded formscentral form  to work? I am getting a broken section of header with a warning sign on top corner saying "!Local host." Cheers

    Hey there all.
    I am wondering if there is something wrong with my embedded form or if it is simply because
    I have not uploaded my site to remote host yet? I am only getting a broken part of the header with
    no actual form, with a warning "!local host" in top left hand corner. If anyone could enlighten
    me on this problem it would be greatly appreciated, it is my first time making forms

    Cheers, I noticed some browsers were treating the form differently. I am uploading to a test server tomorrow, hopefully all goes well, thanks for your reply  

  • Sometimes Local Address not in ARP table and Ping fails (network problem?)

    I see something like this on our network a couple of times a week.
    The same replies have been received from different hosts.
    ping fails
    local subnet machine is not in arp table
    ping fails
    local subnet machine is not in arp table
    traceroute may or maynot succeed
    If traceroute succeeds an entry is in the arp table
    if traceroute fails no entry will be in the arp table.
    A netstat -s, ont the local host, doesn't show any thing strange except that udpNoPorts=10844982 (Unfortunately I don't know what udpNoPorts is)
    The remote host IS UP.
    Does anyone have an idea as to why this is happening?
    Can our 100mb network, which is not that busy, be loosing that many ICMP or ARP messages?
    This is a problem because I'm the guy getting paged if a system is down.
    Local host is Solaris 7 on same subnet at IP 168.173.8.8
    Remote hosts are usually NT boxes.
    /usr/sbin/ping -svR stpaul_web2 56 3
    ----stpaul_web2.agribank.com PING Statistics----
    3 packets transmitted, 0 packets received, 100% packet loss
    /usr/sbin/arp stpaul_web2
    stpaul_web2 (168.173.8.143) -- no entry
    /usr/sbin/ping -svR stpaul_web2 56 3
    ----stpaul_web2.agribank.com PING Statistics----
    3 packets transmitted, 0 packets received, 100% packet loss
    /usr/sbin/arp stpaul_web2
    stpaul_web2 (168.173.8.143) -- no entry
    /usr/sbin/traceroute stpaul_web2
    1 stpaul_web2.AGRIBANK.COM (168.173.8.143) 2995.868 ms 0.231 ms 0.211 ms
    /usr/sbin/arp stpaul_web2
    stpaul_web2 (168.173.8.143) at 0:1:2:cc:a3:51
    Any help is greatly appreciated.
    Ks

    Hi,
    I Think you need to do Teaming on the servers.
    ++ configure etherchannel between switch and the server.
    configuring etherchannel b/w 4503 and server:
    ================================
    http://www.cisco.com/en/US/tech/tk389/tk213/technologies_configuration_example09186a008089a821.shtml
    Sample NIC Teaming - HP NICs with Cisco Switches (EtherChannel) :
    ==============================================
    http://support.citrix.com/article/CTX434260
    There are several NIC teaming technologies available today from  switch vendors.  Cisco uses the term “EtherChannel.”  Various switch  vendors use various terms, and these may or may not provide the same  exact functionality. Use of EtherChannel technology requires support  from the server hardware vendor, NIC vendor, and Layer-2 switch vendor.
    Hope this helps
    Cheers
    Somu
    Rate helpful posts

  • Error on invoking a webservice by giving ip address instead of local host

    Hi,
    I created a web service through jdeveloper and tried accessing the webservice generated WSDl file by giving ip address of my machine , but it throws me an error stating IE cannot display the web page . The same web service is running fine when giving local host on the Web service URL .
    Looking frwd fr sme help
    Thanks in advance
    Ragaven

    Hi,
    your WebLogic server is not setup to listen for the IP address. You can change this in the WLS console for the server configuration. Note that when you install WLS and don't define any hostname then it will listen to all addresses (which also is the default for the integrated WLS)
    Frank

  • Event ID 1012 - There was an error while attempting to read the local hosts file

    When I start my Computer after it has been turned off overnight (switched off at the Power supply) I get a Blue screen and have to reboot the PC. in the Event log it has this error: Event ID 1012 - DNS client events - There was an error while attempting
    to read the local hosts file.
    Once the PC has booted evrything is O.K. I can restart the PC with no problems, it only seems to happen if the PC has been switched off for a while.
    I am connected to the net via an Netgear dg834v4 Modem/Router
    Windows 7 Ultimate
    Intel Q8200 CPU
    2 x 360 Gb HDD
    ATI 4680 !Gb Video Card
    Digital HDA X-Mystique 7.1 Sound Card
    Aver media 777 TV Tuner card.
    Thank you
    jeepers01
    After further Investigation it seems that this error is Not responsible for my Blue screening......I started my PC after leaving it off all night, and it started normally, but i still have this error in the Event Log - System.....I have searched the Technet
    forums (and there is a lot of ID 1012 errors) but non relating to my problem....If anyone knows what is causing this error and how to fix it, i'd be Grateful....although it does not seem to affect the PC in any way that i can see.
    thanks
    jeepers01

    Since Windows system uses separated user mode and kernel mode memory space, stop errors are always caused by kernel portion components, such as a third-party device drivers, backup software or anti-virus services (buggy services).
    The system goes to a BSOD because there is some exceptions happened in the kernel (either the device driver errors or the service errors), and Windows implements this mechanism: When it detects some errors occur in the kernel, it will kill the box in case
    some more severe damage happens. Then we get a blue screen or the system reboots (it depends on what the system settings are).
    To troubleshoot this kind of kernel crash issue, we need to debug the crashed system dump. Unfortunately, debugging is beyond what we can do in the forum. A suggestion would be to contact Microsoft Customer Service and Support (CSS) via telephone so that
    a dedicated Support Professional can assist with your request. Please be advised that contacting phone support will be a charged call.
    To obtain the phone numbers for specific technology request please take a look at the web site listed below:
    Microsoft - Help and Support
    If you are outside the US please see
    Microsoft Worldwide Home for regional support phone numbers.
    Meantime we can try some available steps as a general troubleshoot.
    1. Please remove the antivirus and run the system with a period. If the issue does not occur, mainly focus on antivirus settings and compatibility. 
    2. Disable Automatic Restart and see detail information on the blue screen.
    1).Click Start, in the Start Search box enter sysdm.cpl.
    2).Click the tab Advanced. Under Startup and Recovery, click the Settings button.
    3). Uncheck “Automatically restart”.
    4). On the drop-down menu “Write debugging information”, choose “Small memory dump”.
    5). Click OK.
    When Blue Screen displays, you may find some useful information.
    Arthur Xie - MSFT

  • How to run local host web application in win 7 64 bit with oracle database?

    Hi all,
    Hope doing well,
    sir i am running my local host web application with oracle database in win 7 32 bit. it's working fine.
    but when i am running the same thing in win 7 64 bit. it's showing login error.
    not going to home page even i checked with this published file open in visual studio it's working fine.
    how to run it correctly?
    thanks in advance.

    The number of times you have been asked to post sufficient details for your questions, we would expect you to have got the message by now... but clearly not.
    952646 wrote:
    but when i am running the same thing in win 7 64 bit. it's showing login error.What error? You haven't posted an error. There are millions of possible errors in computing and you're expecting people to guess which one.
    not going to home page even i checked with this published file open in visual studio it's working fine.
    how to run it correctly?No code, no database version, no details...... = NO HELP.
    When are you going to learn.

Maybe you are looking for

  • EDI 820 Outbound Payment advice EUPEXR

    When I am trying to generate an EDI through payment run F110, it correctly generates one for Message type PAYEXT and Idoc Basic type PEXR2002. However, in addition to that it is generating one for Message type EUPEXR and Idoc Basic type IDCREF01. Wha

  • Unable to connect to VPN after upgrade?

    Hi: I had a working VPN running on 10.3.9 Server which I could connect to without a problem. Now, from 10.4.7, I cannot connect to it anymore. I can connect to another 10.4.5 Server though. I wonder if something has changed in the client side with an

  • Who can tell me how to finish to filter content of file by Minifilter?

    Hi who can tell me how to finish to filter content of file by Minifilter? Thanks www.jiangkai.net

  • ITunes Song from iCloud corrupted download

    I recently downloaded some songs from the recent Maroon 5 Album "Overexposed". I normally download all the songs I want onto my main music device which is an iPhone 4s running iOS 6.1.1, I would then sync my iPhone with my 2012 Windows 7 Ultimate PC

  • Layout selection in ALV grid.

    Hi All, I have one requirement to change the existing program. Currently it is displaying all the fields in the ALV grid. Now i need to make the selection screen with two options for Header data selection and Item data selection. So now if I select t