Ipv6 lookback address in hosts file

Hi,
After enabling IPv6 on the Solaris server and rebooting the machine we see that Ipv6 loopback address (::1) is added as the first entry above Ipv4 loopback address. Is there a way to force adding Ipv6 loopback address as the last enty in the /etc/hosts file?
Regards
-murali

My Solaris 10 U8 10/09 box doesn't have IPv6 enabled but has that entry too. Loopback addresses have historically been the first listed in this file. Changing the behavior would mean changing the code somehow. I don't know of a way to do this For what reason do you need the IPv6 loopback at the end of this file?

Similar Messages

  • [Solved] hosts file with ipv6 disabled

    Hello community!
    So I have disabled ipv6, as it was causing various issues and Comcast has not yet implemented ipv6 in my area.  Disabling was no problem, but nowhere can i find information regarding whether or not to keep the ipv6 line in the hosts file.  Should I comment it out? 
    For clarity I am referring to the ::1 line.  Will commenting it out be problematic, or will keeping it be problematic, or does it not really matter?  I know having an improperly configured hosts file can cause all sorts of network issues, so I am very curious. 
    Right now I have it commented out, and I have not noticed any real problems, but I also have a Realtek wireless card using rtl8192ce, which is not the most stable driver/connection.  Thus my connection is kind of intermittently crappy.  So I am curious if I am making my connection crappier than it was before.
    Thanks in advance!
    Edit:  Of course as soon as I posted this, I found an answer.  The Debian wiki recommends commenting it out when completely disabling ipv6.  So to those who at least read my post, thanks!
    Last edited by WonderWoofy (2012-08-19 20:19:44)

    @WonderWoofy,
    Do you have a link for the Debian wiki? I'd like to understand the reasoning.
    To be honest, I didn't even realise that line was for ipv6. Since I've disabled it in sysctl.conf, I should probably consider commenting it out, too. Right now, I seem to be loading firewall modules for ipv6, mind, which seems like slightly more security than can be strictly necessary if the thing is disabled...
    @ghen,
    It isn't, that I know of, a matter of "figuring it out correctly". Having ipv6 enabled can screw up ipv4 connections. Having it enabled prevents me from connecting to the internet at all on one of the networks I use. As I understand it, a properly configured network shouldn't do this but when the official IT support people say the problem is that you have ipv6 enabled, you don't have much choice. (And it isn't as if there's anything to be gained by having it enabled.)

  • How to change host file?

    Hi guys,
    I would like to install 9iAS 9.0.2 Oracle Portal on my XP machine.
    Problem:
    My host like this:
    127.0.0.1 localhost
    AND my computername contains an UNDERSCORE.
    How can I change the hosts file? And how must it look like? I have no fix IP Adress at the moment.
    Thank you for help.
    cheers,
    Bernd

    in short...
    You'll need a static IP address
    your host file will look like
    127.0.0.1 localhost
    10.1.1.10 www.server.com www
    where 10.1.1.10 is your static IP, and the www.server.com is the name for which you want to access your portal site.

  • What is the real ip address to the apple server? Someone changed the host file in windows/system32/drivers/ect, and now I can't do a restore on my iPhone 3gs.

    What is the real ip address to the apple server? Someone changed the host file in windows/system32/drivers/ect, and now I can't do a restore on my iPhone 3gs

    "You have to change your router's IP address to be able to access it. It will not give you the internet."
    I'm not sure what that means Richard, but I did change the router's IP address from 192.168.1.1 to 192.168.5.1- isn't that what you meant in your first post. I know that isn't reflected in my screen capture that I took last night, but I did do that this morning after I read your post.
    "Log on to your router and change two settings.
    Change the setting in Setup from PPPoE to Automatic Configuration-DHCP and click on save.
    Click on Advance Routing and change the setting from Gateway to Router then click on save."
    I did this and still same results as far as I can tell. Can't get online through the router.
    "Click on MAC address clone under setup tab ... click enable & click clone ...click save settings ... Check the IPaddress under WAN page ....
    If getting IP in public range .... try going online ...."
    I tried this- at least to the part about checking the IP address under WAN. I assume you mean the WAN page in the modem setup- nothing looked any different after trying what you suggested, and I'm not really sure where I would be "getting IP in public range" or what that means.
    I'm about to give up and just buy a new router to see if I can get the same lack of results with a different one. My ISP maintains that everything is set up correctly on their end and really can't do anything more for me. The Modem works and is set up correctly and they can give tech support for a router.
    Here's what my basic setup looks like now:
    http://i490.photobucket.com/albums/rr270/SukarUDL/BasicSetup.png
    Here's what the advanced tab looks like now:
    http://i490.photobucket.com/albums/rr270/SukarUDL/AdvancedRouting.png
    Modem setup looks the same
    Message Edited by Writersbloc on 09-25-2008 07:05 PM

  • Client machine requires "hosts file" include IP-address of server machine??

    Hi. all.
    I am using real IP address in tnsnames.ora at client machines.
    The client machine(windows)'s hosts file should have ip-address of server machine?
    Without hosts file(ip-address of server), tnsping is always OK, but
    sqlplus returns error from time to time.
    With hosts file(ip-address of server), sqlplus returns no error.
    The database is 2-node RAC database on windows2003.
    Thanks in advance.
    Best Regards.

    If you've got server side load balancing then the clients can get a redirect to one of your RAC nodes when it tries to connect. This redirect will be to a host name (at least thats what I get with our RAC nodes) - so you will definitely need the to be able to resolve the RAC node names. Resolution through the local hosts file or DNS doesn't really matter.
    Ahmed

  • Solaris10.. need to remove "::1 localhost" from /etc/hosts file

    I know i have IPV6 disabled (through install options) but i still see "::1 localhost" entry in the /etc/hosts file.. This is related to localhost with IPV6 address ::1.. why it is still there.. what is it's impact.. how can i remove it if i decide to remove..
    Thanks, appreciate help.
    S.

    It could be there if you linked /etc/hosts (or /etc/inet/hosts to /etc/inet/ipnodes). Or recreated the hosts-file from ipnodes (or it could be there by default and removed by my jumpstart, which means i would be unaware of it :-)
    And no, you don't need it if you are not running IPv6, in fact removing it will eliminate a few error messages.
    On all non-IPv6 systems i install i link /etc/inet/ipnodes to /etc/inet/hosts, in order to eliminate errors when changing IP addresses of the host and odd resolv-conflicts (which also removes any reference to ::1), and so far i have never experienced any issue with that.
    .7/M. x2000 :)

  • Can't update iOS 8 on my iPhone5 through iTunes on Windows 8 (error 3004, 3194). Updated host file, opened port 80, 443; turned off security system and firewall, etc. But nothing works. How to solve this problem?

    Can't update iOS 8 on my iPhone5 through iTunes on Windows 8 (error 3004, 3194). Updated host file, opened port 80, 443; turned off security system and firewall, etc. But nothing works. How to solve this problem?

    Hi the_mad_movies,
    It seems like this article will be the best option for addressing this issue:
    Error 3194, Error 17, or "This device isn't eligible for the requested build"
    http://support.apple.com/kb/ts4451
    Thanks for coming to the Apple Support Communities!
    Cheers,
    Braden

  • [SOLVED]Is my hosts file functioning as it should?

    I'm using this script to update my hosts file with ad blocking settings.
    #!/bin/bash
    # Hosts file updater
    HFSERVER="http://hostsfile.mine.nu.nyud.net"
    HFILE="hosts.zip"
    ORIGFILE="/etc/hosts.original"
    clear
    echo "-------------------------------------------------------------"
    echo "This script will update your Hosts file to the latest version"
    echo "Your original Hosts file will be renamed to $ORIGFILE"
    echo "-------------------------------------------------------------"
    echo ""
    if [ ! -f "$ORIGFILE" ] ; then
    echo "Backing up your previous hosts file.."
    cp -v /etc/hosts $ORIGFILE # I like verbose file operations. Can be less verbose if necessary.
    fi
    echo "Retrieving $HFILE from $HFSERVER"
    echo ""
    wget -O /tmp/$HFILE $HFSERVER/$HFILE
    unzip -p /tmp/$HFILE | dos2unix > /tmp/hosts
    if [ 'grep -c "banner" /tmp/hosts' ];then
    echo "Downloaded and unpacked $HFILE OK"
    echo "Appending host list to original content" # which was probably there for a reason, like to make sure localhost worked, and possibly even more stuff if part of a corporate LAN
    #cp -f -u /tmp/hosts /etc/hosts
    cat $ORIGFILE >/etc/hosts
    echo "" >>/etc/hosts # to make sure the original file ends in a new-line so that 2 entries don't end up on the same line, either causing unexpected behavior or not working at all
    cat /tmp/hosts >>/etc/hosts
    rm -fv /tmp/hosts* # again, I like verbose file operations. I like to know what my system is doing.
    echo "Update process complete"
    #echo "-------------------------------------------------------------"
    echo "As a side-effect of this script, any changes you wish to make"
    echo "persistent in the hosts file should be made to $ORIGFILE"
    echo "because /etc/hosts will be respawned from that file and the "
    echo "newlist from the server each time this script runs."
    exit
    else
    echo "Update failed"
    fi
    http://hostsfile.mine.nu/downloads/updatehosts.sh.txt
    And my hosts file now looks like this:
    # /etc/hosts: static lookup table for host names
    #<ip-address> <hostname.domain.org> <hostname>
    127.0.0.1 localhost.localdomain localhost pote
    # The Hosts File Project http://hostsfile.mine.nu
    # Global Advert Servers Blocklist - Personal Edition
    # Release 13/09/2008
    # Servers Verified as up and running 13/09/2008 (by dns exploration)
    # Updated sorted and maintained by Andrew Short (sh0rtie)
    # Contact: [email protected]
    # A big thank you to all contributers (too many to mention)
    # who really have made this project a success, well done :)
    # Licensed under the LGPL a copy of the license may be viewed at
    # http://www.gnu.org/licenses/lgpl.txt
    # WARNING:
    # This file is *extremely comprehensive* and some sites might be
    # included here that you wish to visit, if this is the case you can
    # deactivate the block on that site by placing a # (octothorpe)symbol
    # before its entry, this will deactivate blocking on that server
    # so for example #127.0.0.1 foobar.com
    # will enable you to visit foobar.com or you can just simply delete
    # the line that contains the site you wish to visit.
    # NB:
    # For some computer software updates you may need to disable
    # this file in order to perform the update, if you have problems
    # rename this file from "hosts" to "hosts.txt" reboot then perform
    # the update and then rename this file back to "hosts" to re-enable it
    # You must keep the below lines
    127.0.0.1 localhost
    127.0.0.1 pop3.norton.antivirus
    127.0.0.1 pop3.spa.norton.antivirus
    # /etc/hosts: static lookup table for host names
    #<ip-address> <hostname.domain.org> <hostname>
    127.0.0.1 localhost.localdomain localhost pote
    # End of file
    # The Hosts File Project http://hostsfile.mine.nu
    # Global Advert Servers Blocklist - Personal Edition
    # Release 13/09/2008
    # Servers Verified as up and running 13/09/2008 (by dns exploration)
    # Updated sorted and maintained by Andrew Short (sh0rtie)
    # Contact: [email protected]
    # A big thank you to all contributers (too many to mention)
    # who really have made this project a success, well done :)
    # Licensed under the LGPL a copy of the license may be viewed at
    # http://www.gnu.org/licenses/lgpl.txt
    # WARNING:
    # This file is *extremely comprehensive* and some sites might be
    # included here that you wish to visit, if this is the case you can
    # deactivate the block on that site by placing a # (octothorpe)symbol
    # before its entry, this will deactivate blocking on that server
    # so for example #127.0.0.1 foobar.com
    # will enable you to visit foobar.com or you can just simply delete
    # the line that contains the site you wish to visit.
    # NB:
    # For some computer software updates you may need to disable
    # this file in order to perform the update, if you have problems
    # rename this file from "hosts" to "hosts.txt" reboot then perform
    # the update and then rename this file back to "hosts" to re-enable it
    # You must keep the below lines
    127.0.0.1 localhost
    127.0.0.1 pop3.norton.antivirus
    127.0.0.1 pop3.spa.norton.antivirus
    127.0.0.1 admintds.megatds.com
    127.0.0.1 ads.game.net
    127.0.0.1 ads.tokgajah.com
    127.0.0.1 dl.downloadhosting.com
    127.0.0.1 game.treeloot.com
    127.0.0.1 gw1.celticfestival.org
    127.0.0.1 incestlove.info
    127.0.0.1 klickcash.com
    127.0.0.1 loomia.cachefly.net
    127.0.0.1 pornoexit.com
    127.0.0.1 privacy.virtumundo.com
    127.0.0.1 redirect.virtumundo.com
    127.0.0.1 tds.megatds.com
    127.0.0.1 telebizz.org.uk
    127.0.0.1 the2all.info
    127.0.0.1 treeloot.com
    127.0.0.1 ultraload.net
    127.0.0.1 ultratds.com
    127.0.0.1 v1.cc
    127.0.0.1 virtumundo.com
    # etc...
    The thing i'm unsure of is this section:
    # You must keep the below lines
    127.0.0.1 localhost
    Since localhost is already stated here:
    #<ip-address> <hostname.domain.org> <hostname>
    127.0.0.1 localhost.localdomain localhost pote
    For now I've deleted the redundant localhost entry, since it seems to be there for windows compatability.
    Is there any harm in leaving that entry?
    Last edited by verve (2008-11-29 04:08:29)

    Not as far as I know.
    It probably just re-encounters the localhost hostname and either dumbly re-adds it to the internal table or ignores it. In any case, no logically discernible harm done.
    -dav7

  • UNABLE TO RETRIEVE THE CLIENT IP ADDRESS AND HOST NAME OF A PORTAL USER

    I'm trying to retrive the client IP address and host name of a portal user
    trying to access a portal page using APIs:
    PortletRenderRequest portletRequest =
    (PortletRenderRequest)request.getAttribute(HttpCommonConstants.PORTLET_RENDER_REQUEST);
    HttpServletRequest servletRequest =
    (HttpServletRequest)portletRequest.getAttribute(HttpCommonConstants.SERVLET_REQUEST);
    String l_szClientIPAddress = servletRequest.getRemoteAddr();
    String l_szClientHost = servletRequest.getRemoteHost();
    but i found that for all portal users on different machines IP addresses, the
    returned IP is the same for all which is Portal middle tier IP address.
    So how can retrive the IP addess of a portal user trying to access a portal
    page ?

    Brijesh,
    Do you mean how to see hostname/ip address of client requests processed by the server? If yes, depending on what's your front ending component - Web Cache or OHS, you can configure the access log format to have this information recorded in either of these component's access log file.
    For Web Cache access log file, refer this:
    http://download.oracle.com/docs/cd/B14099_19/caching.1012/b14046/diagnostics.htm#sthref2090
    For OHS access log file, refer this:
    http://download.oracle.com/docs/cd/B14099_19/web.1012/b14007/servlog.htm#sthref439
    By default, both Web Cache and OHS are configured to use Common Log Format (CLF) that does record hostname/ip address so if you haven't made any changes to log format, this info is already there for you. Look for $ORACLE_HOME/webcache/logs/access_log file for Web Cache and $ORACLE_HOME/Apache/Apache/logs/access_log file for OHS.
    Thanks
    Shail

  • The new entries made in /etc/hosts file is not picked up by Weblogic.

    Hi All,
    I have come across a scenario where i have changed the IP address of a particular host name (which was already present in etc/hosts) to point to a new IP address.
    After i did this change, when i do a telnet test to the same hostname, i can see it is getting connected to the new IP to which i changed. But my service which is deployed on weblogic 10.0 still keeps sending requests to the old IP which i commented in the etc/hosts file instead of the new IP address.
    My question is will weblogic cache the data in etc/hosts file somewhere?
    Thanks in anticipation..
    Madhu

    Application deployed on weblogic server will pick the IP address of the server on which the application is deployed .
    IP address or listen address for weblogic server can be configured in 3 different ways :
    Listen Address : Blank --- This means that the server will listen to all the interfaces available on the Machine .
    Listen Address : IP address or Hostname --- The server will listen only to the specified IP address or the hostname .
    Listen Address : : localhost --- The server will be listening only on localhost address and will not be accessible remotely .
    Please check what it the listen address specified at you end.
    Thanks,
    Sandeep

  • When I type .ssh root@10.0.02 it says host not recognized I'm unable to get in to known host file can not fix the problem.

    When I open terminal and do sash [email protected] it says warning rsa key not recognized to go to known-hosts file which ican not grt into I have download pico but am not sure how to launch it or what I ave to do.

    sibeen, please stop starting new posts when you are really just continuing the first post.  "Reply" to one of your existing posts when you are really just continuing the same question.  If I have not lost count, you have posted 3 times about this same ssh rsa host key issue, and Linc Davis and I have been trying to keep track of all the details, but with it spread out across multiple new posts, it is difficult.
    I'm guessing as you again forgot to post the actual error (I'm starting to wonder if you are testing how well Linc and I can guess at your problem ).  Anyway, I'm guessing that you managed to delete the $HOME/.ssh/known_hosts file, and now when you try to ssh to 10.0.0.2 it wants to add the remote system's host rsa key into a newly created known_hosts file.
    The authenticity of host '[10.0.0.2]:22([10.0.0.2]:22)' can't be established.
    RSA key fingerprint is xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx.
    Are you sure you want to continue connecting (yes/no)?
    Generally the command ask if you want to do this, yes or no.  You type "yes" and your Mac memorizes the remote system's host rsa key.
    If this is not the warning message you are seeing, then as Linc has requested, please post the exact error (feel free to mask put the actual key or usernames or IP addresses, but keep the words.
    If you are still getting the original error from 3 posts ago, then I would not try editing $HOME/.ssh/known_hosts, and instead just delete the file, and when you get a message like I have posted above, answer it with "yes".
    WIth respect to pico, Mac OS X already has pico installed, so there was  no need to download it from anywhere.  However, most people just use 'nano' which has essentially replaced 'pico' as an easy to use Terminal based text editor.  But like I said, I think you will be happier if you just delete the known_hosts file and get on with your ssh operations.
    Finally, I think in your 2nd post you indicated you tried deleting a file that had a dash in the name (known-hosts) instead of an underscore (known_hosts).  If that was just a typo when you entered your post, and you were really getting you cannot delete a directory, then something is seriously wrong, or you accidentally allowed a space to be inserted between .ssh and known_hosts.  Personally, I'm going with you actually entered a space and the 'rm' command thought you wanted to delete the .ssh directory instead of $HOME/.ssh/known_hosts.  I could be wrong, but using copy and paste to post actual Terminal screen output as well as the command you entered would be very helpful to anyone trying to provide useful information.  In other words, help us help you.

  • Editing etc\hosts file on windows xp for apps. problem post installation.

    Hi all,
    I was able to install 11.5.10.2 apps on my win xp prof machine. During that process I had to edit the etc/hosts file in windows directory as a work around for that domain name field during installation. Also added the primary DNS suffix as 'suneel.com' . I gave the domain name as 'suneel.com' during installation. The RapidWiz is taking localhost as the system name and referring to this system as localhost.suneel.com, though the actual system name is 'websoft-xp' .
    The host file on Apps machine has the following entries:
    127.0.0.1 localhost
    127.0.0.1 localhost.suneel.com suneel.com
    127.0.0.1 websoft-xp.suneel.com
    So when I connect to apps login server from other systems in lan, I've to edit their hosts file and add an entry for localhost.suneel.com to point to its ip address or else the apps throws an error after logging in as operations/welcome using a different url say 192.168.1.4:8000 . Is there a way to get around this issue?
    More over I'm not able connect to VIS db from other systems. The oracle clients give an error 'No listner' at this address. (The original listener was listening at localhost.suneel.com:1521). So I tried to create a new listerner from Net Manager that actually listens at websoft-xp (the real system name) but it throws me an error 'A valid log file is required' while saving the network configuration and prevents me from saving the network configuration.
    Did I do something wrong with the hosts file during installation or did i miss any entries in that file thats causing this? Any solutions for the above problems will be appreciated?
    Thanks
    Suneel
    Message was edited by:
    suneelgv

    Well I tried that option but for some reason it didn't work for me. It kept giving the tns:connection closed error. Then I searched in metalink and found this note : Note:333158.1
    It suggested setting tcp.validnode_checking = no
    in sqlnet.ora. in
    F:\oracle\visdb\9.2.0\network\admin\VIS_websoft-xp
    And it works. Hope this helps someone facing a similar problem. Good luck.
    BTW how do I run autoconfig?
    Thanks,
    Suneel Gundlapalli

  • EtreCheck says /etc/hosts file is Corrupted

    EtreCheck says the Cofiguration files:  /etc/host - Corrupted.  Here is the EtreCheck Report and my actual hosts file from Terminal below:
    How do I fix this?  Thanks
    EtreCheck version: 2.0.1 (82)
    Report generated October 10, 2014 at 7:52:19 PM PDT
    Hardware Information: ℹ️
      iMac (27-inch, Late 2013) (Verified)
      iMac - model: iMac14,2
      1 3.2 GHz Intel Core i5 CPU: 4-core
      8 GB RAM Upgradeable
      BANK 0/DIMM0
      4 GB DDR3 1600 MHz ok
      BANK 1/DIMM0
      4 GB DDR3 1600 MHz ok
      BANK 0/DIMM1
      empty empty empty empty
      BANK 1/DIMM1
      empty empty empty empty
      Bluetooth: Good - Handoff supported
      Wireless:  en1: 802.11 a/b/g/n/ac
    Video Information: ℹ️
      NVIDIA GeForce GT 755M - VRAM: 1024 MB
      iMac 2560 x 1440
    System Software: ℹ️
      OS X 10.9.5 (13F34) - Uptime: 0 days 5:59:33
    Disk Information: ℹ️
      APPLE SSD SM0256F disk0 : (251 GB)
      S.M.A.R.T. Status: Verified
      EFI (disk0s1) <not mounted> : 210 MB
      iMac SSD (disk0s2) /  [Startup]: 250.14 GB (202.02 GB free)
      Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
    USB Information: ℹ️
      Apple Inc. FaceTime HD Camera (Built-in)
      Apple Inc. BRCM20702 Hub
      Apple Inc. Bluetooth USB Host Controller
      Wacom Co.,Ltd. CTT-460
      Apple, Inc. Keyboard Hub
      Apple, Inc Apple Keyboard
    Thunderbolt Information: ℹ️
      Apple Inc. thunderbolt_bus
    Configuration files: ℹ️
      /etc/hosts - Corrupt!
    Gatekeeper: ℹ️
      Mac App Store and identified developers
    Kernel Extensions: ℹ️
      /Applications/DiskWarrior.app
      [not loaded] com.alsoft.Preview (4.4) Support
      /Applications/VMware Fusion.app
      [not loaded] com.vmware.kext.vmci (90.5.7) Support
      [not loaded] com.vmware.kext.vmioplug.12.1.17 (12.1.17) Support
      [not loaded] com.vmware.kext.vmnet (0188.79.83) Support
      [not loaded] com.vmware.kext.vmx86 (0188.79.83) Support
      [not loaded] com.vmware.kext.vsockets (90.5.7) Support
      /System/Library/Extensions
      [not loaded] com.wacom.kext.pentablet (5.2.6) Support
    Launch Agents: ℹ️
      [running] com.wacom.pentablet.plist Support
    User Login Items: ℹ️
      None
    Internet Plug-ins: ℹ️
      WacomNetscape: Version: 1.1.1-1 Support
      Flip4Mac WMV Plugin: Version: 3.2.0.16   - SDK 10.8 Support
      QuickTime Plugin: Version: 7.7.3
      WacomTabletPlugin: Version: WacomTabletPlugin 2.0.0.4 Support
      Default Browser: Version: 537 - SDK 10.9
    Safari Extensions: ℹ️
      Ghostery (Disabled)
      FastestTube
      YouTube5
      NoMoreiTunes
    3rd Party Preference Panes: ℹ️
      PenTablet  Support
      Flip4Mac WMV  Support
      Perian  Support
    Time Machine: ℹ️
      Time Machine not configured!
    Top Processes by CPU: ℹ️
          4% WindowServer
          1% fontd
          0% System Events
          0% fseventsd
          0% imagent
    Top Processes by Memory: ℹ️
      387 MB com.apple.IconServicesAgent
      172 MB WindowServer
      120 MB mds_stores
      94 MB Grab
      94 MB Finder
    Virtual Memory Information: ℹ️
      5.29 GB Free RAM
      1.89 GB Active RAM
      632 MB Inactive RAM
      774 MB Wired RAM
      676 MB Page-ins
      0 B Page-outs
    and here is my actual hosts file from Terminal:
    Joses-iMac:~ josemontanez$ cat /etc/hosts
    # Host Database
    # localhost is used to configure the loopback interface
    # when the system is booting.  Do not change this entry.
    127.0.0.1 localhost
    255.255.255.255 broadcasthost
    ::1             localhost
    fe80::1%lo0 localhost
    m
    Joses-iMac:~ josemontanez

    I have 95 corrupt configuration files in /etc/hosts. Here is my EtreCheck report and my Terminal report follows.
    Hardware Information: ℹ️
        iMac (24-inch Mid 2007) (Verified)
        iMac - model: iMac7,1
        1 2.8 GHz Intel Core 2 Duo CPU: 2-core
       2 GB RAM Upgradeable
            BANK 0/DIMM0
                1 GB DDR2 SDRAM 667 MHz ok
            BANK 1/DIMM1
                1 GB DDR2 SDRAM 667 MHz ok
        Bluetooth: Old - Handoff/Airdrop2 not supported
        Wireless:  en1: 802.11 a/b/g/n
    Video Information: ℹ️
        ATI,RadeonHD2600 - VRAM: 256 MB
            iMac 1920 x 1200
    System Software: ℹ️
        OS X 10.10.2 (14C109) - Time since boot: 0:4:31
    Disk Information: ℹ️
        ST3500630AS Q disk0 : (500.11 GB)
            EFI (disk0s1) <not mounted> : 210 MB
            Macintosh HD (disk0s2) / : 499.25 GB (310.40 GB free)
            Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
    USB Information: ℹ️
        Apple Inc. Built-in iSight
        LaCie Porsche Mobile for Mac 2 TB
            EFI (disk1s1) <not mounted> : 210 MB
            LaCie (disk1s2) /Volumes/LaCie : 2.00 TB (1.70 TB free)
        Apple Inc. Bluetooth USB Host Controller
        Apple Computer, Inc. IR Receiver
    Configuration files: ℹ️
        /etc/hosts - Count: 99 - Corrupt!
    Gatekeeper: ℹ️
        Mac App Store and identified developers
    Kernel Extensions: ℹ️
            /System/Library/Extensions
        [not loaded]    com.digidesign.fwfamily.driver (7.4f1) [Click for support]
        [not loaded]    com.digidesign.iokit.DigiDal (7.4f1) [Click for support]
        [not loaded]    com.digidesign.iokit.DigiIO (7.4f1) [Click for support]
        [not loaded]    com.digidesign.mbox2.boot.driver (7.4f1) [Click for support]
        [not loaded]    com.digidesign.mbox2.driver (7.4f1) [Click for support]
        [not loaded]    com.paceap.kext.pacesupport.master (5.5) [Click for support]
            /System/Library/Extensions/PACESupportFamily.kext/Contents/PlugIns
        [not loaded]    com.paceap.kext.pacesupport.leopard (5.5) [Click for support]
        [not loaded]    com.paceap.kext.pacesupport.panther (5.5) [Click for support]
        [not loaded]    com.paceap.kext.pacesupport.tiger (5.5) [Click for support]
    Startup Items: ℹ️
        Digidesign Mbox 2: Path: /Library/StartupItems/Digidesign Mbox 2
        DigidesignLoader: Path: /Library/StartupItems/DigidesignLoader
        MySQLCOM: Path: /Library/StartupItems/MySQLCOM
        PACESupport: Path: /Library/StartupItems/PACESupport
        Qmaster: Path: /Library/StartupItems/Qmaster
        Startup items are obsolete in OS X Yosemite
    Launch Agents: ℹ️
        [not loaded]    com.adobe.AAM.Updater-1.0.plist [Click for support]
        [loaded]    com.divx.dms.agent.plist [Click for support]
        [loaded]    com.divx.update.agent.plist [Click for support]
        [loaded]    com.oracle.java.Java-Updater.plist [Click for support]
    Launch Daemons: ℹ️
        [loaded]    com.adobe.fpsaud.plist [Click for support]
        [loaded]    com.adobe.SwitchBoard.plist [Click for support]
        [loaded]    com.adobe.versioncueCS3.plist [Click for support]
        [running]    com.digidesign.fwfamily.helper.plist [Click for support]
        [loaded]    com.microsoft.office.licensing.helper.plist [Click for support]
        [loaded]    com.oracle.java.Helper-Tool.plist [Click for support]
        [failed]    PACESupport.plist [Click for support]
    User Launch Agents: ℹ️
        [running]    com.google.Chrome.framework.plist [Click for support]
        [loaded]    com.google.keystone.agent.plist [Click for support]
        [loaded]    com.spotify.webhelper.plist [Click for support]
    User Login Items: ℹ️
        iAntiVirus    UNKNOWN Hidden (missing value)
        Caffeine    Application  (/Applications/Caffeine.app)
        Dropbox    Application  (/Applications/Dropbox.app)
        X1100 Series Button Monitor    Application Hidden (/Library/Application Support/Lexmark/X1100 Series Scanner.bundle/Contents/SharedSupport/X1100 Series Button Monitor.app)
        EEventManager    Application  (/Applications/Epson Software/Event Manager.app/Contents/Resources/Assistants/Event Manager/EEventManager.app)
    Internet Plug-ins: ℹ️
        DirectorShockwave: Version: 12.1.3r153 - SDK 10.6 [Click for support]
        nplastpass: Version: 2.5.5 [Click for support]
        OVSHelper: Version: 1.1 [Click for support]
        Default Browser: Version: 600 - SDK 10.10
        Google Earth Web Plug-in: Version: 6.0 [Click for support]
        RealPlayer Plugin: Version: Unknown
        AdobePDFViewerNPAPI: Version: 11.0.09 - SDK 10.6 [Click for support]
        FlashPlayer-10.6: Version: 16.0.0.305 - SDK 10.6 [Click for support]
        DivX Web Player: Version: 3.2.4.1250 - SDK 10.6 [Click for support]
        Silverlight: Version: 4.0.50401.0 [Click for support]
        Flash Player: Version: 16.0.0.305 - SDK 10.6 [Click for support]
        iPhotoPhotocast: Version: 7.0
        QuickTime Plugin: Version: 7.7.3
        SharePointBrowserPlugin: Version: 14.0.0 [Click for support]
        AdobePDFViewer: Version: 11.0.09 - SDK 10.6 [Click for support]
        JavaAppletPlugin: Version: Java 7 Update 55 Check version
    User internet Plug-ins: ℹ️
        BrowserPlus_2.9.8: Version: 2.9.8 [Click for support]
    Safari Extensions: ℹ️
        LastPass
    Audio Plug-ins: ℹ️
        DVCPROHDAudio: Version: 1.3
        Digidesign CoreAudio: Version: 7.4 [Click for support]
    3rd Party Preference Panes: ℹ️
        Adobe Version Cue CS3  [Click for support]
        BrowserPlus  [Click for support]
        Flash Player  [Click for support]
        Growl  [Click for support]
        Java  [Click for support]
    Time Machine: ℹ️
        Auto backup: YES
        Volumes being backed up:
            Macintosh HD: Disk size: 499.25 GB Disk used: 188.85 GB
        Destinations:
            LaCie [Local]
            Total size: 2.00 TB
            Total number of backups: 24
            Oldest backup: 2015-01-25 07:12:35 +0000
            Last backup: 2015-03-07 17:57:35 +0000
            Size of backup disk: Excellent
                Backup size 2.00 TB > (Disk size 499.25 GB X 3)
    Top Processes by CPU: ℹ️
             5%    Activity Monitor
             5%    recentsd
             3%    CalendarAgent
             3%    WindowServer
             1%    sysmond
    Top Processes by Memory: ℹ️
        268 MB    mds_stores
        75 MB    Dropbox
        69 MB    ocspd
        54 MB    Dock
        52 MB    Activity Monitor
    Virtual Memory Information: ℹ️
        162 MB    Free RAM
        889 MB    Active RAM
        766 MB    Inactive RAM
        329 MB    Wired RAM
        1.03 GB    Page-ins
        29 KB    Page-outs
    Diagnostics Information: ℹ️
        Mar 7, 2015, 10:23:52 AM    Self test - passed
        Mar 6, 2015, 10:50:33 PM    /Library/Logs/DiagnosticReports/Spotify_2015-03-06-225033_[redacted].hang
        Mar 6, 2015, 10:22:01 PM    /Users/[redacted]/Library/Logs/DiagnosticReports/Dock_2015-03-06-222201_[redact ed].crash
        Mar 6, 2015, 08:34:05 PM    /Library/Logs/DiagnosticReports/Safari_2015-03-06-203405_[redacted].hang
    TERMINAL REPORT:
    Start time: 12:09:52 03/07/15
    Model Identifier: iMac7,1
    Memory: 2 GB
    System Version: OS X 10.10.2 (14C109)
    Kernel Version: Darwin 14.1.0
    Time since boot: 1:46
    Memory
        BANK 0/DIMM0:
          Size: 1 GB
          Speed: 667 MHz
          Status: OK
          Manufacturer: 0xAD00000000000000
        BANK 1/DIMM1:
          Size: 1 GB
          Speed: 667 MHz
          Status: OK
          Manufacturer: 0xAD00000000000000
    SATA
       ST3500630AS Q                         
    USB
       Porsche Mobile for Mac (LaCie)
    Diagnostic reports
       2015-02-06 coreduetd crash
       2015-02-06 iTunes crash
       2015-02-12 AddressBookSourceSync crash
       2015-02-17 coreduetd crash
       2015-02-17 iTunes crash
       2015-03-06 Dock crash
       2015-03-06 Safari hang
       2015-03-06 Spotify hang
    Log
      Mar  7 10:25:12 BUG in process suhelperd[176]: over-released legacy external boost assertions (1 total, 1 external, 0 legacy-external)
       Mar  7 10:25:12 BUG in process suhelperd[176]: over-released legacy external boost assertions (1 total, 1 external, 0 legacy-external)
       Mar  7 10:25:12 BUG in process suhelperd[176]: over-released legacy external boost assertions (1 total, 1 external, 0 legacy-external)
       Mar  7 10:25:12 BUG in process suhelperd[176]: over-released legacy external boost assertions (1 total, 1 external, 0 legacy-external)
       Mar  7 10:25:12 BUG in process suhelperd[176]: over-released legacy external boost assertions (1 total, 1 external, 0 legacy-external)
       Mar  7 10:25:12 BUG in process suhelperd[176]: over-released legacy external boost assertions (1 total, 1 external, 0 legacy-external)
       Mar  7 10:25:12 BUG in process suhelperd[176]: over-released legacy external boost assertions (1 total, 1 external, 0 legacy-external)
       Mar  7 10:25:12 BUG in process suhelperd[176]: over-released legacy external boost assertions (1 total, 1 external, 0 legacy-external)
       Mar  7 10:25:12 BUG in process suhelperd[176]: over-released legacy external boost assertions (1 total, 1 external, 0 legacy-external)
       Mar  7 10:25:12 BUG in process suhelperd[176]: over-released legacy external boost assertions (1 total, 1 external, 0 legacy-external)
       Mar  7 10:25:12 BUG in process suhelperd[176]: over-released legacy external boost assertions (1 total, 1 external, 0 legacy-external)
       Mar  7 10:25:12 BUG in process suhelperd[176]: over-released legacy external boost assertions (1 total, 1 external, 0 legacy-external)
       Mar  7 10:25:12 BUG in process suhelperd[176]: over-released legacy external boost assertions (1 total, 1 external, 0 legacy-external)
       Mar  7 10:25:12 BUG in process suhelperd[176]: over-released legacy external boost assertions (1 total, 1 external, 0 legacy-external)
       Mar  7 10:25:12 BUG in process suhelperd[176]: over-released legacy external boost assertions (1 total, 1 external, 0 legacy-external)
       Mar  7 10:25:12 BUG in process suhelperd[176]: over-released legacy external boost assertions (1 total, 1 external, 0 legacy-external)
       Mar  7 10:25:12 BUG in process suhelperd[176]: over-released legacy external boost assertions (1 total, 1 external, 0 legacy-external)
       Mar  7 10:25:12 BUG in process suhelperd[176]: over-released legacy external boost assertions (1 total, 1 external, 0 legacy-external)
       Mar  7 10:25:12 BUG in process suhelperd[176]: over-released legacy external boost assertions (1 total, 1 external, 0 legacy-external)
       Mar  7 10:25:12 BUG in process suhelperd[176]: over-released legacy external boost assertions (1 total, 1 external, 0 legacy-external)
       Mar  7 10:25:12 BUG in process suhelperd[176]: over-released legacy external boost assertions (1 total, 1 external, 0 legacy-external)
       Mar  7 10:25:12 BUG in process suhelperd[176]: over-released legacy external boost assertions (1 total, 1 external, 0 legacy-external)
       Mar  7 10:25:12 BUG in process suhelperd[176]: over-released legacy external boost assertions (1 total, 1 external, 0 legacy-external)
       Mar  7 10:25:47 proc 307: load code signature error 4 for file "garcon"
       Mar  7 10:26:24 BUG in process suhelperd[176]: over-released legacy external boost assertions (0 total, 0 external, 0 legacy-external)
    Daemons
       com.paceap.pacesupport
       com.adobe.versioncueCS3
       com.microsoft.office.licensing.helper
       com.oracle.java.Helper-Tool
       com.adobe.SwitchBoard
       com.adobe.fpsaud
       com.digidesign.fwfamily.helper
    Agents
       com.google.Chrome.framework.service_process~/Library/Application_Support/Google /Chrome
       com.oracle.java.Java-Updater
       com.spotify.webhelper
       com.google.keystone.user.agent
       com.divx.update.agent
       com.divx.dms.agent
    launchd
       /System/Library/LaunchDaemons/com.apple.installer.osmessagetracing.plist
       - com.apple.installer.osmessagetracing
       /Library/LaunchAgents/com.adobe.AAM.Updater-1.0.plist
       - com.adobe.AAM.Startup-1.0
       /Library/LaunchAgents/com.divx.dms.agent.plist
       - com.divx.dms.agent
       /Library/LaunchAgents/com.divx.update.agent.plist
       - com.divx.update.agent
       /Library/LaunchAgents/com.oracle.java.Java-Updater.plist
       - com.oracle.java.Java-Updater
       /Library/LaunchDaemons/com.adobe.fpsaud.plist
       - com.adobe.fpsaud
       /Library/LaunchDaemons/com.adobe.SwitchBoard.plist
       - com.adobe.SwitchBoard
       /Library/LaunchDaemons/com.adobe.versioncueCS3.plist
       - com.adobe.versioncueCS3
       /Library/LaunchDaemons/com.digidesign.fwfamily.helper.plist
       - com.digidesign.fwfamily.helper
       /Library/LaunchDaemons/com.microsoft.office.licensing.helper.plist
       - com.microsoft.office.licensing.helper
       /Library/LaunchDaemons/com.oracle.java.Helper-Tool.plist
       - com.oracle.java.Helper-Tool
       /Library/LaunchDaemons/PACESupport.plist
       - com.paceap.pacesupport
       Library/LaunchAgents/com.google.Chrome.framework.plist
       - com.google.Chrome.framework.service_process~/Library/Application_Support/Google /Chrome
       Library/LaunchAgents/com.google.keystone.agent.plist
       - com.google.keystone.user.agent
       Library/LaunchAgents/com.spotify.webhelper.plist
       - com.spotify.webhelper
    Startup items
       /Library/StartupItems/Digidesign Mbox 2/CheckKextForOs
       /Library/StartupItems/Digidesign Mbox 2/Digidesign Mbox 2
       /Library/StartupItems/Digidesign Mbox 2/getCurrentUser
       /Library/StartupItems/Digidesign Mbox 2/isJaguar
       /Library/StartupItems/Digidesign Mbox 2/Mbox2CS
       /Library/StartupItems/Digidesign Mbox 2/StartupParameters.plist
       /Library/StartupItems/DigidesignLoader/DigidesignLoader
       /Library/StartupItems/DigidesignLoader/StartupParameters.plist
       /Library/StartupItems/MySQLCOM/MySQLCOM
       /Library/StartupItems/MySQLCOM/StartupParameters.plist
       /Library/StartupItems/PACESupport/PACESupport
       /Library/StartupItems/PACESupport/Resources/PACESupport.plist
       /Library/StartupItems/PACESupport/StartupParameters.plist
       /Library/StartupItems/Qmaster/Qmaster
       /Library/StartupItems/Qmaster/StartupParameters.plist
    Bundles
       /System/Library/Extensions/DigiDal.kext
       - com.digidesign.iokit.DigiDal
       /System/Library/Extensions/DigidesignFireWireAudio.kext
       - com.digidesign.fwfamily.driver
       /System/Library/Extensions/DigidesignMbox2.kext
       - com.digidesign.mbox2.driver
       /System/Library/Extensions/DigidesignMbox2Boot.kext
       - com.digidesign.mbox2.boot.driver
       /System/Library/Extensions/DigiIO.kext
       - com.digidesign.iokit.DigiIO
       /System/Library/Extensions/JMicronATA.kext
       - com.jmicron.JMicronATA
       /System/Library/Extensions/PACESupportFamily.kext
       - com.paceap.kext.pacesupport.master
       /Library/Audio/Plug-Ins/HAL/Digidesign CoreAudio.plugin
       - com.digidesign.digidesign.DigiCoreAudioPlugIn
       /Library/Internet Plug-Ins/AdobePDFViewer.plugin
       - com.adobe.acrobat.pdfviewer
       /Library/Internet Plug-Ins/AdobePDFViewerNPAPI.plugin
       - com.adobe.acrobat.pdfviewerNPAPI
       /Library/Internet Plug-Ins/DirectorShockwave.plugin
       - com.adobe.director.shockwave.pluginshim
       /Library/Internet Plug-Ins/DivX Web Player.plugin
       - com.divx.DivXWebPlayer
       /Library/Internet Plug-Ins/Google Earth Web Plug-in.plugin
       - com.Google.GoogleEarthPlugin.plugin
       /Library/Internet Plug-Ins/JavaAppletPlugin.plugin
       - com.oracle.java.JavaAppletPlugin
       /Library/Internet Plug-Ins/nplastpass.plugin
       - com.lastpass.nplastpass
       /Library/Internet Plug-Ins/OVSHelper.plugin
       - com.divx.OVSHelper
       /Library/Internet Plug-Ins/SharePointBrowserPlugin.plugin
       - com.microsoft.sharepoint.browserplugin
       /Library/Internet Plug-Ins/SharePointWebKitPlugin.webplugin
       - com.microsoft.sharepoint.webkitplugin
       /Library/Internet Plug-Ins/Silverlight.plugin
       - com.microsoft.SilverlightPlugin
       /Library/PreferencePanes/Flash Player.prefPane
       - com.adobe.flashplayerpreferences
       /Library/PreferencePanes/JavaControlPanel.prefPane
       - com.oracle.java.JavaControlPanel
       /Library/PreferencePanes/VersionCueCS3.prefPane
       - com.adobe.versioncueCS3.VCPrefPane
       /Library/QuickTime/FLV.component
       - com.macromedia.FLVExporter
       /Library/QuickTime/FLV.component/Contents/Resources
       - com.macromedia.FLVExporter
       /Library/ScriptingAdditions/Adobe Unit Types.osax
       - N/A
       Library/Address Book Plug-Ins/SkypeABDialer.bundle
       - com.skype.skypeabdialer
       Library/Address Book Plug-Ins/SkypeABSMS.bundle
       - com.skype.skypeabsms
       Library/Caches/com.apple.Safari/Extensions/LastPass.safariextension
       - com.lastpass.lpsafariextension
       Library/Internet Plug-Ins/BrowserPlus_2.9.8.plugin
       - com.yahoo.browserplus
       Library/iTunes/iTunes Plug-ins/AudioScrobbler.bundle
       - N/A
       Library/PreferencePanes/BrowserPlusPrefs.prefPane
       - com.yahoo.browserplus.prefpane
       Library/PreferencePanes/Growl.prefPane
       - com.growl.prefpanel
       Library/Widgets/Tumblet.wdgt
       - com.tumblr.tumblet
    Apps
        /Applications/Dropbox.app
    Contents of /etc/hosts
       127.0.0.1 192.150.14.69
       127.0.0.1 192.150.18.101
       127.0.0.1 192.150.18.108
       127.0.0.1 192.150.22.40
       127.0.0.1 192.150.8.100
       127.0.0.1 192.150.8.118
       127.0.0.1 209-34-83-73.ood.opsource.net
       127.0.0.1 3dns-1.adobe.com
       127.0.0.1 3dns-2.adobe.com
       127.0.0.1 3dns-2.adobe.com
       127.0.0.1 3dns-3.adobe.com
       127.0.0.1 3dns-3.adobe.com
       127.0.0.1 3dns-4.adobe.com
       127.0.0.1 3dns.adobe.com
       127.0.0.1 activate-sea.adobe.com
       127.0.0.1 activate-sjc0.adobe.com
       127.0.0.1 activate.adobe.com
       127.0.0.1 activate.wip.adobe.com
       127.0.0.1 activate.wip1.adobe.com
       127.0.0.1 activate.wip2.adobe.com
       127.0.0.1 activate.wip3.adobe.com
       127.0.0.1 activate.wip3.adobe.com
       127.0.0.1 activate.wip4.adobe.com
       127.0.0.1 adobe-dns-1.adobe.com
       127.0.0.1 adobe-dns-2.adobe.com
       ...and 79 more line(s)
    Contents of /System/Library/LaunchDaemons/com.apple.installer.osmessagetracing.plist (XML  document text)
       <?xml version="1.0" encoding="UTF-8"?>
       <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
       <plist version="1.0">
       <dict>
        <key>Label</key>
        <string>com.apple.installer.osmessagetracing</string>
        <key>LaunchOnlyOnce</key>
        <true/>
        <key>ProgramArguments</key>
        <array>
        <string>/System/Library/PrivateFrameworks/OSInstaller.framework/Resources/OSMes sageTracer</string>
        </array>
        <key>UserName</key>
        <string>root</string>
        <key>GroupName</key>
        <string>wheel</string>
        <key>WatchPaths</key>
        <array>
        <string>/var/db/.AppleDiagnosticsSetupDone</string>
        </array>
       </dict>
       </plist>
    Global login items
       /Library/Application Support/Lexmark/X1100 Series Scanner.bundle/Contents/SharedSupport/X1100 Series Button Monitor.app
       /Applications/Epson Software/Event Manager.app/Contents/Resources/Assistants/Event Manager/EEventManager.app
    Font issues: 15
    Listeners
       launchd: printer
       launchd: printer
       cupsd: ipp
    User login items
       iAntiVirus
       - missing value
       Caffeine
       - /Applications/Caffeine.app
       Dropbox
       - /Applications/Dropbox.app
       X1100 Series Button Monitor
       - /Library/Application Support/Lexmark/X1100 Series Scanner.bundle/Contents/SharedSupport/X1100 Series Button Monitor.app
       EEventManager
       - /Applications/Epson Software/Event Manager.app/Contents/Resources/Assistants/Event Manager/EEventManager.app
    Safari extensions
       LastPass
    Restricted files: 10398
    Elapsed time (s): 496

  • Why blocking sites using Hosts file isn't working?

    Hello 
    I need to block a few websites on my home computer. Did a quick search and found out I had to work with the hosts files. So opened up Notepad, ran it as Admin and then opened Hosts and at the bottom added ' 127.0.0.1 facebook.com' then saved the file. But
    facebook is still opening when I go to the page. 
    can someone tell me why  using the Hosts file isn't working?
    I did read somewhere that it might have something to do with security features on my system. FYI, I m using a trial version of Norton Anti Virus and I am running a Windows 7 machine. 
    Thanks. Any help would be appreciated. 

    Are you sure your entry was in fact saved to the hosts file?  The hosts file on my computer blocks unwanted sites.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”
    Yes
    This is a copy paste of CMD.exe. It shows what's in the host files. 
    Microsoft Windows [Version 6.1.7600]
    Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
    C:\Users\mehdi>cd C:\windows\system32\drivers\etc
    C:\Windows\System32\drivers\etc>dir \a-d
     Volume in drive C is Gateway
     Volume Serial Number is B291-A8C6
     Directory of C:\
    File Not Found
    C:\Windows\System32\drivers\etc>dir /a-d
     Volume in drive C is Gateway
     Volume Serial Number is B291-A8C6
     Directory of C:\Windows\System32\drivers\etc
    10/23/2010  01:06 PM               846 hosts
    06/10/2009  02:00 PM             3,683 lmhosts.sam
    06/10/2009  02:00 PM               407 networks
    06/10/2009  02:00 PM             1,358 protocol
    06/10/2009  02:00 PM            17,463 services
                   5 File(s)         23,757 bytes
                   0 Dir(s)  936,919,461,888 bytes free
    C:\Windows\System32\drivers\etc>type hosts
    # Copyright (c) 1993-2009 Microsoft Corp.
    # This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
    # This file contains the mappings of IP addresses to host names. Each
    # entry should be kept on an individual line. The IP address should
    # be placed in the first column followed by the corresponding host name.
    # The IP address and the host name should be separated by at least one
    # space.
    # Additionally, comments (such as these) may be inserted on individual
    # lines or following the machine name denoted by a '#' symbol.
    # For example:
    #      102.54.94.97     rhino.acme.com          # source server
    #       38.25.63.10     x.acme.com              # x client host
    # localhost name resolution is handled within DNS itself.
    #       127.0.0.1       localhost
    #       ::1             localhost
    127.0.0.1 facebook.com
    C:\Windows\System32\drivers\etc>

  • Asigning a name to a host without using hosts file

    Hi, we have developed a rich client application that connects to a websphere Appserver in order of using ejb. This app is intended to work in different places, connecting to a different Appserver in each place. When the service locator of our client app connects to the appserver to obtain the references to the ejbs, the server returns some kind of URL that contains the name of the machine defined
    in the hosts file of the server. The problem is that if this name is not in the host file of the client machine the application crashes because it cannot communicate with the appserver. We have a large number of client machines and we would like to avoid having to modify the host file of every one of them.
    Is there a way to tell the application to assign an IP to a hostname at runtime?

    I think that you can directly use IP addresses instead of the host names.
    If your are in a lan you will be able to use the compulter name of the hosts too.
    Also if you get proper DNS setup in your network you will be able to allocate domain names to your hosts and reffer them by their domain name. And the clients will be able to find the hosts through DNS lookup

Maybe you are looking for

  • PC no longer communicates with printer, all settings are correct??

    Suddenly I am uable to print from my pc or scan to my pc. The messages I recieve are:  Scanner Unreachable Scanner communications cannot be established Might need to update IP Adress Scan to computer is disabled I have rebooted everything several tim

  • Null pointer exception in jserv.log

    Genius, I am facing weired exception "Null pointer exception" in jserv.log. Apps Login is showing "internal server error" I tried enabled debug log level in jserv.conf, httpd.conf, all logs are having Null pointer exception message. not able to trace

  • How to configure the Http sender adapter

    Now i have look through the sap lib about the http sender adapter and i know the url is http://hostname:port/path?namespace=<...> &interface=<...>&service=<...>&cmd=T&loaderXML=< message object >&end=yes My questions are: 1)the path in the URL is "/s

  • How to find the HEAP and CHUNK of memory in Oracle

    hi, Intermitently I'm getting some ora-00600 errors that indicate corruption in some heaps and chunks, as follow: Repeat 79 times Chunk 3e05a198 sz= 0 ERROR, BAD MAGIC NUMBER (0) Dump of memory from 0x3E059198 to 0x3E05B198 3E059190 00000000 00000000

  • Image capture can't find scanner

    Image capture and preview can't find scanner (epson 645). It was working fine. And now I can't get it to work. I'm using wifi. Suggestions?