Problem editing hosts file in Snow Leopard

I am having trouble editing my hosts file in Snow Leopard. Well, I can edit it fine, but the changes seem to give no effect whatsoever.
My hosts file looks like so:
# 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
127.0.0.1 localhost www.localhost.com
I cannot access localhost by entering '127.0.0.1' into my browser, nor can I access it by entering 'www.localhost.com'.
Firefox simply tells me either 'Unable to Connect' or 'The Connection was reset', respectively.
Is there something I am doing wrong?? I have been looking all over the internet all week and cannot see what I might be missing!
The only way I can connect to localhost is by visiting 'http://localhost:8888/'.
If it helps, I am running MAMP.
Thanks to anyone who can help.

Never mind, I found out MAMP was using port 8888 instead of 80, so I reset it and now it works fine

Similar Messages

  • How to edit host file to fix error 3194

    how do i edit the host file to solve the error 3194 problem?

    Since host file is a system file
    You need to root your phone and then use root explorer > mount R/W > open with text editor
    May i know what actually you want to do ?
    Why do you want to edit host file ?
    Discussion guidelines.
    Message me or any other moderator to seek help regarding moderation.

  • Many more files in Snow Leopard

    I recently cloned my Leopard 10.5.8 drive, and then upgraded the new drive to Snow Leopard, and applied all updates etc., on a first-gen Mac Pro.
    Checking the file count on the Snow Leopard volume, it's just under 1.9 million files, whereas the Leopard volume had/has right around 1 million.
    Any ideas on why so many more files under Snow Leopard? I've checked the file count of various individual folders, even using Onyx to check the hidden folders, and there's only around 600-700K files visible.
    Storage footprint also went up maybe 10-20GB, but not that significant on a 1.5TB drive.
    It doesn't appear to be causing any problems, but is certainly strange, and causes me to wonder if something went wrong in the upgrade, or if I have some subtle long-term issue.
    Any ideas on what could have happened, and what to do to correct the situation? Or should I just ignore?
    Thanks for any thoughts.
    Ken

    No, David--the top-level directory structure looks the same as the old drive. Thanks for the suggestion, though.
    Ken

  • My Imac is ejecting every disk inserted in it, I cannot access the disks, can any body help me troubleshoot the problem. I am using snow leopard.

    My Imac is ejecting every disk inserted in it, I cannot access the disks, can any body help me troubleshoot the problem. I am using snow leopard.

    Try resetting the SMC Intel-based Macs: Resetting the System Management Controller (SMC) - Apple Support
    and PRAM How to Reset NVRAM on your Mac - Apple Support
    If those don't help you can try a cleaning disc or a quick shot of compressed air. Chances are that your drive has failed, join the club it's not all that uncommon. You can either have it replaced or purchase an inexpensive external drive. Don't buy the cute little Apple USB Superdrive, it won't work on macs with internal drives working or not.

  • Problems with Photoshop CS4 on Snow Leopard 10.6.8

    I just upgraded to Snow Leopard 10.6.8 and now my Photoshop CS4 is constantly crashing on me.  Adobe was no help.  Is there anything I can do to fix this?  I don't want to purchase CS5 just to prevent this from happening. I had no problems with CS4 w 10.5.8.  I also did a software update on CS4.  Help please!!

    "...Adobe was no help...."
    Meaning what exactly? CS4 should work with some problems. Google, "cs4 and snow leopard" and read the issues. You are also not alone if you look the the right side of this web page under, "More Like This" you'll others with the same issue.

  • How to edit host file...

    I have ICS on my SK17i  . I want to edit my /etc/host file. How  is it possible.
    Solved!
    Go to Solution.

    Since host file is a system file
    You need to root your phone and then use root explorer > mount R/W > open with text editor
    May i know what actually you want to do ?
    Why do you want to edit host file ?
    Discussion guidelines.
    Message me or any other moderator to seek help regarding moderation.

  • Un-zip file in Snow Leopard

    How do you un-zip file in Snow Leopard?

    Hey
    Apple used to include a program called StuffIt Expander to decompress zipped files, but doesn’t now that OS X lets you unzip files (but not .sit files). However, StuffIt from SmithMicro Software still comes in handy for opening other types of compressed files, notably the .sit or .sitx compressed types. Go to www.stuffit-expander.com or www.stuffit.com/mac/index.html to download a free version of the software or to splurge for the Deluxe version. In addition to compressing files, StuffIt Deluxe lets you encrypt and back up files.
    Read more: http://www.dummies.com/how-to/content/how-to-zip-and-unzip-files-on-your-mac.htm l#ixzz1KBJk3oib
    Regards,
    Britt.

  • Hi! Has anybody succeeded in using Presonus Audio box 22 vsl with Os Mountain Lion? They doesn´t seem to connect. No problems when i used with Snow Leopard. I upgraded: Now is Kreonika not happy. Not happy at all!

    Hi! Has anybody succeeded in using Presonus Audio box 22 vsl with Os Mountain Lion? They doesn´t seem to connect.
    No problems when i used with Snow Leopard. I upgraded: Now Kreonika is not happy. Not happy at all!

    In cases like this, if you have an Apple store near by, they will most likely install the OS free of charge for you, if you can't bring your Apple ID along to prove you've paid for it.
    Would that work out for you?

  • Problems saving files in Snow Leopard

    I've just upgraded from Leopard to Snow Leopard (I know I'm a dinosaur...) and am now having major problems saving Appleworks files. 
    When I'm doing corrections, I sometimes need to save a file over 10 times and my helpful "Do you want to replace this file?" box has gone and instead it's saving as a new file and adding another 'full stop' at the end of the file name.  It's driving me nuts!
    Is there any way to get back to just over-writing the file?
    Any help gratefully received...
    Thanks
    Take care
    Marianne

    This is turning out to be really crazy. I haven't added any third party application at all.
    Last night I tried Roger's 'command-S' and it worked on a different document I opened.  I tried the same document, changed it, 'Saved As' and it asked me if I wanted to over-write the file. 
    I then opened the original document I was having trouble with, hit 'Save As' and the same thing happened; it just made multiple copies of the file.  It seems to be a problem with this particular client and all his files; unfortunately, he's the client I do the most work for.
    Now I don't know why it's happening on some documents and not on others.
    Any further ideas?  Can I do something to this client's files, re-save them or whatever, so I don't have this problem?
    Thanks again...
    Marianne

  • InDesign CS3 crashes upon opening a file from Snow Leopard

    Hello all. I'm desparately hoping someone can help me with this issue as I've spent the better part of my weekend working on two important files for work and would hate to start over.
    I've been working at home in InDesign CS3. My home computer has Snow Leopard 10.6.2. I don't have any font managmenet plug-ins or programs other than Font Book. I started two new files and when I took them to work, both files crash InDesign upon opening. I don't get to open InDesign at all. My work computer has InDesign CS3 as well running Tiger 10.4.11. It is running Suitcase Fusion, which I've tried disabling and then trying to open the file to no avail. I've started the computer in safe mode to try and open the file, deleted preferences, disabled all fonts on the computer, repaired preferences, any and all suggestions listed on these forums and the rest of the internet. All of these solutions were met without success.
    All files are stored on a portable hard drive. However, there are files on the drive that were created on the work computer that still open fine so I know the drive is a non-issue.
    After InDesign crashes, I'll restart it just by clicking the program icon (not by double-clicking my file or dragging the file to InDesign) and it will crash all by itself. When I restart it again, it asks to repair the file that crashed it. Saying 'YES' crashes the program again.
    This is a problem that just arose this morning and I have yet been able to go back home to try and open the files on my home computer. I'm praying my work computer did not corrupt the files somehow.
    I'm hoping there is someone out there who can help me?

    I understand what you're saying regarding removeable media. I'm tying this message from home with much frustration. I copied the file off the drive onto my desktop, ejected the hard drive, and I get the same crash error:
    "The application InDesign has unexpectedly quit. A crash report has been generated.  To provide us with the best chance of fixing this problem, please select Continue to add a detailed description that includes the steps required to reproduce the crash. Adobe will use this crash report to help find a future solution to this problem."
    I believe this might be relegated strictly to InDesign as a Photoshop file that was created from scratch, edited, and saved on the same hard drive next to the InDesign file opened perfectly.
    I would love the opportunity to send you this file to see if you can open it on your system. I have a YouSendIt account if that works best.

  • Editing after Upgrading to Snow Leopard

    After upgrading to Snow Leopard, I get the following message whenever I try to edit a picture-including those that have been edited before:
    "Unreadable Files:
    The following files could not be imported. (The file is in the iPhoto Library)"
    At the bottom of the screen is "Preparing to Import" with a constant "beach ball".
    Any suggestions?
    Thanks.

    Given that this is happening in two Libraries we know the Library is okay amd now we need to look at the OS and the application.
    What hardware is connected to your Mac? Disk? Scanners, Printers, Card Readers, multi-putpose machines?
    Disconnect them and see does the problem recur.
    If it's still happening: a final test:
    Create a new account (systempreferences -> accounts) and see if the problem is repeated there. If it is, then a re-install of the app might be indicated. If it's not, then it's likely the app is okay and the problem is something in the main account.
    Regards
    TD

  • Guest Account Bug Resets User Accounts and Deletes Files on Snow Leopard

    Hi Everyone
    Well basically, I hadn't used my Guest Account since upgrading to snow leopard, and I accidentaly clicked it instead of my user account this morning, to find that when I logged into my normal account ALL my files, settings, mail etc had been reset.
    So I'm posting this to let people know, (and hopefully Apple if they don't know about this) what's happening.
    Here's the post I sent to Apple Feedback:
    Hi,
    Well basically, I upgraded to snow leopard recently, everything was working fine, I've upgraded to 10.6.1 and have all the latest software updates etc, so anyway this morning I turned my computer on and accidentaly clicked on the Guest Account on the login screen instead of my normal one, so it started trying to load the guest account (which I hadn't loaded since before the upgrade).
    So I wait about two minutes, and nothing atall happens apart from it loading on the logon page, so I pressed Enter to return me to the login window.
    So once I was returned I logged on as my normal user, to find my Desktop reset, my Dock reset, my Documents, Music and Photos reset and all my software reset.
    So I restarted my computer and logged on again, it was exactly the same, everything gone. At which point I looked in the Users folder to find that my User profile had been removed and replaced with a fresh one with the same name. So I then spent half an hour restoring everything from my Time Machine backup.
    I hope Apple are aware of this issue and would greatly appreciate to hear back on the status of what's happening about it, as it doesn't seem to be an isolated issue it's been happening to other people over the last month.
    Here's a few posts from other people who've had this problem, and an article on the CNET site MacFixIt about the bug:
    http://discussions.apple.com/message.jspa?messageID=10123656#10123656
    http://discussions.apple.com/thread.jspa?threadID=2157518&start=15&tstart=0
    http://discussions.apple.com/thread.jspa?threadID=2171494&tstart=0
    http://discussions.apple.com/thread.jspa?threadID=2142272&start=30&tstart=0
    Reports on the Internet:
    http://9to5mac.com/snowleopards_eatusers
    http://reviews.cnet.com/8301-13727_7-10346974-263.htmll?tag=mncol;txt
    To clarify, I have an iMac (aluminium 20" one), with a 2.4ghz processor and 3GB of Ram, please update me on anything that's going on with this issue as I don't want it to continue happening to others who might not have backups,
    Thanks,
    Daniel.
    So if anybody else expieriences this issue your not alone, there's a couple of other posts from people who've had problems above in the middle of my feedback letter. Unfortunately in my case it deleted my Home folder and replaced it with a new one, so if this happens to you then your only option is to restore from a backup. You can attempt to use file recovery software if you don't have one, but I haven't tried this and don't know how well it would work.
    Hope I've helped clarify things for anybody who this has happened to,
    Daniel.
    Message was edited by: dbferrari

    Maybe it will be usefull but last days I tried to login as *Guest* (because I didn't want to logout as my user). In *system preferences* I allowed guest login, then I fast switched to *Guest Account*, do some changes in profile like mouse movement and so on, then I correctly logged out and logged once more to my account. Now I affraid off rebooting macbook (I always hybernate system with changed default settings which store memory into HDD) until the fix will be released. Probably the data was not removed, because I was logged in as me and */Users/$USER* was still in use. Now I am wondering if I can reboot safelly macbook without losing my data..
    For backup do I need to use some command for backuping home to windows machine through *SMB*? because unix like systems have links and so on.. (in *AIX OS* I have to use "*rsync*" command, which copy whole data exactly as it is stored on filesystem - if there is link it will copy only that link, not file which is linked...)

  • Can't download files after Snow Leopard upgrade

    Hello all,
    yesterday I upgraded my leopard to snow leopard, since then I cannot download files with safari (also tried firefox, camino). When I click some link it looks like its going to start downloading but it doesn't. Most of the links are .dmg files. I have tried these steps so far but the problem still occurs.
    1) Repair the Disk Permissions.
    2) Downloaded onyx to clean the system.
    3) Cleaned the safari cache and settings, as well as the plugins directory.
    4) installed firefox and camino but they act the same.
    5) I uninstalled iGetter (if I copy the link location and add it to iGetter I can download the file).
    6) I created a new User to check if the problem was system wide or with the user account. The problem is the same in the new user account as well.
    Any ideas what to try next ?
    Thank you all in advance.
    John.
    ps: I have 10.6.2 and safari 4.04.

    Try using your OnyX to clean the LaunchSevices caches, or use Terminal.
    Launch /Utilities/Terminal and copy & paste this at the command line to rebuild LaunchServices:
    Code:
    <pre class="alt2" style="margin:0px; padding:3px; border:1px inset; width:640px; height:34px; overflow:auto">/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchSe rvices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain system -domain user</pre>
    Then press return. Wait until terminal returns to the command line. Quit Terminal. After that, log out and back in or restart. Let us know
    -mj

  • How can I share files from Snow Leopard to Lion?

    I have an iMac running 10.6.8 with file sharing turned on. (I've tried AFP and SMB).
    I am trying to connect to the iMac on my LAN using a Macbook Pro with 10.7.5.
    I am immediately prompted to authenticate – so I am confident a connection is being made (I am also able to ping) – but when I enter my user credentials from the iMac, I get the spinner (not the beach ball) basically forever. I've let it go for several minutes and nothing ever happens.
    This article seems related, but following the procedure in it did not help:
    http://support.apple.com/kb/HT4700
    Has anybody been able to file share from Snow Leopard to Lion or Mountain Lion?

    VikingOSX wrote:
    You have heeded the caution about turning off the firewall, you are on the same subnet, and you have verified that the shared user is enabled on the iMac with the correct authorization and permissions? Password has to be that of the user account on the iMac?
    The firewall is off on both computers.
    How can I werify the shared user is enabled on the iMac with the correct authorization and permission? It does not seem like sharing is configured per user. The user is my normal user account which I use when logged into that machine for everything. I am using those credentials when trying to connect from the Macbook Pro. In the past I did this frequently without trouble. I am not sure when the problem started but the only thing that has changed was I got a newer Macbook Pro last year with Lion.
    If you grow weary of this, you might just bring the Macbook Pro over to the iMac and use Target Disk Mode to mount that iMac on your Macbook Pro as a desktop disk. Then drag and drop. No a long term solution.
    This is not practical for me as I frquently have need to work from another room using the Macbook Pro and with files that typically live on the iMac (and get backed up from that location). I am making due with Dropbox for now, but the reason I have been driven to post here is that I am looking for the long term solution.
    Thanks for feedback. Let me know if you have any additional thoughts.

  • Unable to edit Hosts file in Win7 Home Prem 64bit.

    Clean install.  Administrator account.  Unable to edit the permissions of the hosts file. There is one in the drivers\etc file, which I cannot edit. There is supposed to be one in %systemroot% \SysWOW64\drivers\etc   but there is no etc folder in the drivers folder.
     Turned off DNS Server. gpedit.msc not found when calling it in "run".  This is the first time I've used 64bit anything, so a bit of a newb in that respect. 
    Any ideas?

    Hi,
    As you would know, some of the Windows 7 users can’t save the host file how they like it. The host file itself will simply vanish what the user had done with it.
    In my scenario, I was unable to fix this even after all the instructions provided in above posts. Hence, I have come up with my own idea and luckily it
    worked.<o:p></o:p>
    For those users who experience this problem, here are the instructions to fix it.
    First of all, you should have the administrative privileges to edit the host file. In normal case, if an admin user directly go to the host file in system 32 and add his preferences
    and then save it, it should keep the changes. However, in some wicked scenarios, it will not. I had done a detailed research on this through all the available online forums and even contacted Microsoft several times with no luck.
    So, here you go with a correct solution for this problem.
    Note: If you are not comfortable with Windows OS and don’t know what you are doing, this process can mess up things.
    Hence, do not attempt if you are not 100% sure you can make it.
    Login to an administrator account.
    In the run command (Windows key + R) type, “control folders” and hit enter.
    Click on the tab called view.
    Select the radio button for Show hidden files, folders and drivers –ON.
    Uncheck the ‘Hide extension for known file types-ON
    Click on Apply and then OK.
    Type “drivers” in run command and hit enter. It will take you to where the folder “drivers” located in System 32.
    From the “drivers” folder, double click the folder named “etc.”
    Now you can see the “host” file along with others.
    Now, in the search area in start menu, type “notepad.exe” and open the notepad.exe as administrator. (In order to do this, you can right click on the notepad.exe shown and select
    “Run as Administrator.” If UAC prompted, click YES/OK)
    Now, you will have a notepad open with administrative privileges.
    At the top left side of the notepad click on “file” and then select “Open.”
    A box will appear which will allow you select the file to open. Carefully, navigate to the location where the “host” file is located. To do that, select the drive where you
    installed Windows. If you have the Windows installed in C: select ‘Local Disk (C :)’ > Windows > System 32 > drivers > etc. At this point, you might not have another option to proceed or select from. The window would be empty. To proceed further,
    select the option “All files” from the drop down menu which is located above the “Open” and “Cancel” button. You can now see all the files located in etc folder.
    Select “hosts” from the menu and click on “Open.” Note: You can either click on open or double click on the file.
    Now, you will have the host file information open in the notepad which you had already initiated before with administrative privileges.
    Make whatever changes you as you wish. (Example: If you need to block a web site called
    www.block123.com you can type 127.0.0.1
    www.block123.com right under the local hosts.
    Make sure you do not change any other letters or characters which are already saved in host file.
    This will completely mess up your computer. For more information on the information about host file, refer the Microsoft web site:
    http://support.microsoft.com/kb/972034 . If you
    have accidently delete/edit anything from host file, please delete the complete information stored in host file and copy and paste the host file information from Microsoft which is appropriate for your Operating System.)
    Click on “file” again and select “Save as” and save it in etc. If the path is showing correct to etc folder, save it to etc. If it is navigated to somewhere else, follow the
    instructions provided above and select etc folder and then save it.
    Now, go back to the actual host file location which is in System32 > Drivers > etc (You would have it already open if you had followed the instructions just like the way
    I have provided)
    There you can see 2 host files. One which has already been there and the other one you just saved.
    Among the two, one is called “hosts” and the ‘type’ would be ‘file.’ This is the original host file. The other which you have just saved will be named as “hosts.txt” with the
    file type as ‘Text Document.’
    Right click on the original host file and select rename. You can even click on that file and press F2. This will enable the option to rename the file. Rename the original host
    file as “hostold” and hit enter.
    Now, select the second host file which we have saved as a text document and rename it as “hosts.” Make sure that you DELETE the .txt file extension in order to change the type
    “Text Document” to “File” and hit enter.
    Now, you have successfully saved the host file with your preferences.
    You can now delete the file which we renamed as “hostold.”
    We are done. You would need to do this process all over if you need to edit the host file again. I know it is difficult, however, it is our own requirement and we have to invest
    few minutes on this.
    Enjoy your computer with a great feeling that you have finally edited the host file as per your wish and take it from here. Wish you luck.
    Should you have any questions, please feel free to ask.

Maybe you are looking for

  • Middle Speaker not working on CT4

    ok i installed a dell CT4780 sound card and i installed this driver http://us.creative.com/support/downloads/download.asp?MainCategory=&nRegio nFK=&nCountryFK=&nLanguageFK=&sOSName=Windows+XP&r egion=&Product_Name=Liv e%2+5.&Product_ID=50&modelnumber

  • Installation of SAP Dialog Instance on Window for SAP R/3 46C

    I am getting following error Info: R3SAPSYSTEMSERVICE_NT_IND SyCoprocessCreate 2 1002 Creating coprocess E:\usr\sap\DQ1\D10\exe\SAPSTARTSRV.EXE ... Info: R3SAPSYSTEMSERVICE_NT_IND ExecuteDo 2 1002 Test call to Service failed: 80070006 E_HANDLE: The h

  • Security in Adobe Acrobat X

    HI all, first post, so please be gentle! We have moved a number of staff over to using Adobe Acrobat Standard X from v9. In v9 you can use the Security Centre to create a security policy, which you can then apply to any PDF you wish by simply choosin

  • Premiere Pro CS4 Setup won't open

    Ok, so I searched and couldn't find anyone with a similar problem: I just downloaded the trial version for Premiere Pro CS4 on Adobe website, but the setup file won't open. I'm on Mac OS X 10.6 (Snow Leopard), 2.8 GHz Intel Core 2 Duo, 4GB RAM, more

  • BEA-280101 on WLS 10.3.5 on Solaris 10 (64b) with JDK 1.6_24(32b)

    Hi, We get this error on starting the Admin Server instance: <25-may-2011 08H49' CEST> <Warning> <Store> <BEA-280101> <The persistent file store "_WLS_Server-Unica" is forced to use buffered I/O and so may have significantly degraded performance. Eit