Trouble with ping localhost not working.

I'm using a Mac Book Pro running Mountain Lion 10.8.2.
Using Xcode I tried to test my app and found an alert box saying a string 'localhost' was not found. Tried to ping localhost and found that the DNS can't resolve this domain. I don't know if it's related but since a few weeks ago I can't use network printers hosted on Windows computers. OS X sees the workgroup and list computers but when I try to connect it throws an error telling the IP is wrong or the connection is lost.
Even stranger is the fact that ping can resolve localhost. (with the dot at the end).
Any help with either of this two issues??

Check the hosts file (/etc/hosts). It should begin with this:
# 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

Similar Messages

  • I am having trouble with my speakers not working while online in particular on windows.My audio works when playing audio files

    I am having trouble with my speakers not working while online particular on facebook. My audio works when playing audio files.

    Hi,
    Did it happen all the time or sometime?
    Please check online browser status:
    Click Volume icon in the taskbar, click Mixer link button as below:
    If it's fine, follow this guide to run troubleshooter to detect and fix the issue:
    Tips for fixing common sound problems
    http://windows.microsoft.com/en-in/windows/tips-fixing-common-sound-problems#tips-fixing-common-sound-problems=windows-7
    Meanwhile, this similar thread also could be referred:
    https://social.technet.microsoft.com/forums/ie/en-US/a4a1cfe5-93a5-4c0b-9bf6-f7db0304f2ba/no-sound-on-youtube-or-any-other-webpage
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • I have trouble with website links not working but they work fine on I.E. it's a problem on quite a few sites .

    The problem I'm having is the links are just unclickable . I have checked all the settings and everything seems ok , but the links are not working . Everything is fine in I.E. and I am not having any problems , it appears to only be when using mozilla . On this site http://compare100.com it's the links at the bottom of the page , is any body else having the same issue ?

    After a bit more troubleshooting... This appears to be a CSS float clearing issue. In a page with both left and right floated containers, if the float is not cleared in one of various ways, Firefox may render the page properly, but the hyperlinks do not function. By clearing the float in the application of the page footer division, I am able to correct the problem in my web page structure such that all browsers render correctly with working links. When you experience this problem, you won't be able to do anything to Firefox to correct it, the page owner will have to resolve their stylesheets, unless a patch or something comes out to address whatever causes Firefox to behave this way.

  • Trouble with AcroRd32.exe not working.

    Did you get my 1st message about why Acrobat Reader 5.0 isn't working?

    This is your first post according to the number of post indicators under your name. If you want help you need to tell us more about your computer and OS as well as which version of Reader 5.0 you are running. If you are running Windows XP or later you should be using Adobe Reader rather than Acrobat Reader 5.0 since it is vulnerable to all sorts of attacks.

  • Sending by mail an Invoice with VF02 does not work

    Hi guys,
    When using VF02 to send by mail an invoce form, the functional consultant is in trouble since it does not work. I am ABAP consultant, and before starting to debug the huge amount of lines of code behind this transaction, I think there might be a more straight solution. When setting the invoice number and entering this transaction, we accessed Goto->Header->Output. The output table to enter our fields appears. Here we set ZXXX as output type and External send like the Medium. When I press enter, the line is automatically filled with the rest of fields. Then we go to Further Data and choose the Send Immediatelly (when saving the application) option. Get back and press Save button. After it, a message "Please enter a communication strategy" is shown and the SD consultant told me that the correct option is MAIL (in fact, this option is part of the F4 help, with "email" as descriptive text) in the Communication strategy field. She told me it should be all to send a mail with the invoice. We did not fill the Logical destination nor checked "Print immediatelly" or "Release after output" checkboxes since they are not useful in this case. So when finally Save button is pressed, a message appears: " ", and then a dialog box appears with the following message: " Express document "Update was terminated" received from author "GILBERTO PARGA"". The mail received in my inbox is only a error message with title "Update was terminated" and the content is the following:
    Update was terminated
    System ID....   XXX
    Client.......   999
    User.....   SOMEBODY
    Transaction..   VF02
    Update key...   XXXXXXXXXXXXXXXXXXXXXX
    Generated....   12.05.2011, 20:37:27
    Completed....   12.05.2011, 20:37:27
    Error Info...   Output device not defined.
    The system is SAP ECC 6.0. Note that the message indicates no output device was defined, but since we are using email instead of print output, it does not matter. I have filled the field with the same result. I have read from Internet it could be a configuration trouble (the SD consultant checked it before, according herself) or even a Basis issue. Anyway, do you know the possible causes and possible solutions (like OSS Notes) for this trouble? The print output works fine, by the way.  Thank you all for your help.

    Hi,
    If you maintain method EXTERNAL SEND then in communication method you have to specify Communication strategy as CS01(Internet/letter)
    If you maintain method simple mail then in communication method you have to maintain RECIPIENT and RECIPIENT TYPE
    Also check the number range assignment for billing type for error "Update was terminated"
    you might be assigned numbers which are already consumed.
    kapil

  • Any one else having trouble with Creative Cloud not opening?

    Anyone else haveing trouble with Creative Cloud not opening? All I get is the splash screen and the :loading: symbol that keeps going around and around---forever.
    This just started ---.
    I am running Windows 8 on an i7 machine with 16 gigs of RAM. My internet connection is good---all other internet access opens just fine.
    Thanks
    gene

    Have you downloaded and installed the following updated Mountain Lion compatible driver and software for your model?:
        http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?softwareitem=mp-107723- 1&cc=us&dlc=en&lc=en&os=219&product=4073738&sw_lang=
    Hope this helps

  • HT4235 iPod nano 6th generation, syncing with audiobooks does not work now, had been working.  Sync test says:  No iPod touch, iPhone, or iPad found.  Connectivity test OK, no physical problems, iTunes shows the iPod.  Any clues what to do?

    iPod nano 6th generation, syncing with audiobooks does not work now, had been working.  Sync test says:  No iPod touch, iPhone, or iPad found.  Connectivity test OK, no physical problems, iTunes shows the iPod.  Any clues what to do?

    Hmm.. Thank you for the response.
    Have you tried using the iPod with another user account or computer, to help narrow down whether the problem lies with the computer, account, or the iPod itself?
    Maybe try reformatting it, using the tools provided by Windows. Instructions on how to reformat your iPod can be found in this article.
    http://www.methodshop.com/gadgets/ipodsupport/erase/index.shtml
    B-rock

  • Brand new Mac user help please! How do you connect a 17" monitor to the MacBook? I have the monitor plugged into the Mac, but the F8 that I am used to with PC does not work. Please help. Thanks.

    Brand new Mac user help please! How do you connect a 17" monitor to the MacBook? I have the monitor plugged into the Mac, but the F8 that I am used to with PC does not work. Please help. I am getting lots of spelling errors as the MacBook laptop screen is too small. Thank you so much! .

    Contentmom6 wrote:
    Brand new Mac user help please! How do you connect a 17" monitor to the MacBook? I have the monitor plugged into the Mac, but the F8 that I am used to with PC does not work.
    Normally, you just connect the monitor to the MacBook using a VGA adaptor that you can buy from an Apple Store.  Now try System Preferences > Displays > Detect Displays.  You should now be able to select a display mode for the monitor.  If it still doesn't work, then I'd check that everything is properly connected.  I've had problems with colours disappearing due to a faulty connection in the VGA adaptor.
    Bob

  • Troubles with xmp files not loading...

    I'm having troubles with xmp files not loading with images but are present in the image folders. does anyone know why this is happening and if there is a way to fix this. Also when trying to load the xmp individually they are grayed out and unable to load. I have tried this on different machines (Macs) and still no luck. Any help would be greatly appreciated in this issue.

    > The information contained in the XMP file is stored in the DNG file so there is no need for a separate file.
    Aww, yuck!! That's a real drag...
    When editing lots of files (yesterday's shoot produced 8GB) I back everything up to off-line storage and then, after doing all my edits and crops in ACR, I only have to copy over the small XMP files which takes no time at all.
    So if I re-edit the DNG with ACR I have to re-copy ALL the files again to the off-line storage.
    I used to sometimes even save 2 versions of the xmp files when I needed 2 different crops of the same images, such as doing a wide screen 'cinema' crop for a corporate client's Intranet presentation of their event, as well as more standard crops to be used for their newsletters.
    Guess I won't be using DNG any more..
    Thanks for the help Kees :-)
    Russell

  • FIND with MATCH OFFSET not working

    Hi,
    I have a statement:
    FIND '/' IN <ls_data_package>-/bic/zbib_sysn MATCH OFFSET off2.
    this works in all the case except for when <ls_data_package>-/bic/zbib_sysn = SSULTANA-VMC/.
    (i.e. when /bic/zbib_sysn = USERID-VMC/, here SSULTANA is the user ID)
    *In this case off2 = .
    Value of sy-subrc is 0 after this statement is executed
    Can some one please point out what I am doing wrong.
    Thank you,
    CD
    Edited by: CSD . on Sep 26, 2008 9:53 PM

    >FIND with MATCH OFFSET not working  
    Most unlikely.  More likely is that it isn't doing what you think it should be doing.  Or you're using it incorrectly!
    I can't really follow what your problem is.  I assume you mean that you are getting off2 with value 0, when /bic/zbib_sysn contains USERID-VMC/
    Can you be a little clearer in what the issue is?
    DATA: off2 TYPE i.
    FIND '/' IN 'this string /' MATCH OFFSET off2.
    WRITE: / sy-subrc, off2.
    This little program returns 0 and 12 
    matt

  • Is anyone having trouble with their RAZR not ringing or only ringing sometimes? I also lose the use of any voice technology when this happens.

    Is anyone having trouble with their RAZR not ringing or only ringing sometimes? I also lose the use of any voice technology when this happens.

    What is going on with the motorola software fix?
    Tav Gauss CEO, President
    The Action Group, Human Resources Solutions
    252-237-3717
    1800-529-8470
    <http://www.theactiongrouphr.com/> www.theactiongrouphr.com
    PO Box 158
    Wilson North Carolina 27894-0158
    Follow The Action Group HR. Connect with us on  <http://capstr.at/Hd> Twitter |  <http://capstr.at/HY> LinkedIn |  <http://capstr.at/Hc> YouTube

  • Serial number provided with download does not work, now what?

    serial number provided with download does not work, now what?

    Chrish29593217 you are welcome to contact our directly at Contact Customer Care.  What Adobe software title are you facing difficulties with?

  • TS3297 i bot a 3g iphone 2nd hand and it is trobleing a lot with os and not working plese help me

    i bot a 3g iphone 2nd hand and it is trobleing a lot with os and not working plese help me

    The following guide gives information on how to sync ringtones from your computer to the phone. The reference section at the bottom of the quide also gives instructions on how to convert a song to a ringtone. https://discussions.apple.com/docs/DOC-3792

  • [svn] 4323: Bug: LCDS-544 - Scenario where two components have seperate channel sets with overlapping channels not working .

    Revision: 4323
    Author: [email protected]
    Date: 2008-12-15 19:23:10 -0800 (Mon, 15 Dec 2008)
    Log Message:
    Bug: LCDS-544 - Scenario where two components have seperate channel sets with overlapping channels not working.
    QA: Yes
    Doc: No
    Checkintests Pass: Yes
    Details:
    * Hunting to a new channel within a channelset never triggered a disconnect from the previous channel(s). This isn't a problem in general, but does becomes a problem when an app defines two distinct channelsets containing at least one shared channel at the head of the list. In this case, the first channelset hunts past it and connects on a later channel. But when the second channelset hunts through (triggering a connect fault when it hits that initial shared channel that can't connect), the fault is processed by the first channelset as well (incorrectly).
    Ticket Links:
    http://bugs.adobe.com/jira/browse/LCDS-544
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/ChannelSet.as

    Running the script by python2 solves it for me:
    su - mythtv -c "nice -n 19 python2 /usr/bin/tv_grab_nl_py --output ~/listings.xml"
    Best regards,
    Cedric

  • I have downloaded skype, but after synchronizing with itunes skype not working, why?

    i have downloaded skype, but after synchronizing with itunes skype not working, why?  when I was synchronizing I believe there was some message in itune saying software not backed up or somethin to that effect.

    Thanks for your response.
    However, I did not find any solution to my problem.
    in my phone the skype application skype is not opening up, same is the caseiwth mobile voip. Both these applications were downloaded last night and it worked then, but not working now.
    Thanks in advance for anyone willing to help. I am new to the iphone.

Maybe you are looking for

  • Can more than one Ipod be used one one computer?

    My sister and I share a computer and each have an Ipod. I have a 30GB and she has a 2GB and we're having problems using the same Itunes. Is there a way for us both to use the same Itunes on the same computer, or do we have to use separate computers t

  • Batch doesn't seem to work with Save for Web

    Using Photoshop CS3 on Leopard. This should be simple: I want to create thumbnail images of a folder full of PDFs. I create an action that opens the PDF, opens the first page at a width of 200 pixels, flattens it, Save for Web at 60% quality, and clo

  • How to eliminate default text in Photo Mail creations

    Every time I create a Photo Email in PSE 11 the email appears in my email client with this text added to it:  "Here are the files that I want to share with you".  I do not what this text and I have to select it and delete it for every email I create.

  • Unable to read shared variable in signal express

    Dear all, I am trying to read a shared variable with data type 'Array of Double Waveform' and the signal express gives a network variable error stating "The data type of specified shared variable xxxxxx is not supported". could any one explain why is

  • Adobe Document Services - Default Settings

    Hi there We are providing users with the functionality to print their reports through PDF. This functionality is working almost perfectly (apart from the irritating fact that multi line cell headings are not printed), but what I have been requested t