Why Lion sometimes doesn't connect to the server during surfing the web?

Sometimes whein i'm surfing the web, Lion doesn't connect to the server and appear this messager:"You aren't connected to the internet" or "Imposssible connect to the server". How can I sort out difinetly thi problem?
(The mac's connetcted on a LAN network)

That URL isn't a file. So don't use a File object or a FileInputStream if you want to read it.
This tutorial tells you how to read from a URL, among other things:
[http://java.sun.com/docs/books/tutorial/networking/urls/index.html]

Similar Messages

  • Why does Safari have trouble connecting to the web?

    I keep getting the message, Safari cannot open the page, because your iPad is not connected to the internet. I have reset my wifi connection daily, unplugged my router, plugged it back in. I shut my iPad down with the power button. I have called my internet provider. But the problem continues daily. My lap top has no problems, or the Windows Tablet.

    New information about the problem:
    I discovered the apple applications work when I have a wired ethernet connection to the wireless router but they don't work when I'm only connected wirelessly. Are there settings in the router I should check? I still wonder why it's only apple apps having this issue.

  • Why am I unable to connect to the Web when I'm in a WiFi hotspot?

    Although I'll have a strong web signal, I'm often unable to retrieve Mail or use Safari. I was in my hotel lobby yesterday (they advertise free Wi-Fi) and Safari would only show the hotel website. I was unable to use any of my Safari Bookmarks. I recently received the same message at Tokyo's Narita Airport.
    I was able to retrieve my .Mac mail messages and use Safari at a WiFi spot at the Seoul Airport. However, on a return flight several days later my Touch would only show the Seoul Airport Webpage. I was unable to retrieve messages or use Safari.

    In many places that offer free wifi you need to log-in to their web page. This then allows a proxy server to respond to your requests. If you don't log-in to that one web page you can see none of the +iPod touch+ internet applications will be able to get a connection. 
    mrtotes

  • My safari doesn't work sometimes, but I connect with the internet.

    my safari doesn't work sometimes, but I connect with the internet. Some of the videos I can't see with the Safari browser, but I can see it with other brower. But my friend can see these videos with her safari. And I can not connect with the app store sometimes.

    Before you try to configure the settings on your Router, first thing which you need to do is, Press and hold the reset button for 60 seconds...Release the reset button...Unplug the power cable from your router, wait for 60 seconds and re-connect the power cable...
    Connect the Modem to the Linksys Router on the Internet Port and then connect your computer to the Linksys router on the LAN Port 1. On your Computer click on Start - Run - CMD and click Ok... Now in the Command Prompt window type "ipconfig" and hit enter and note down the "IP address, Subnet Mask and Default Gateway" , Now again in the Command Prompt window type "ping default gateway IP" and hit enter and check if you are getting any replies, If yes then you can login to the setup page of the configure all the settings on it from scratch. 
    If your Internet Service Provider is Cable follow this link

  • HT1695 Hey, guys! I connected to the wi-fi by my iPhone (5) for 3 weeks. Now my iPhone doesn't connect to the network anymore. And I can't understand why. Will you please help me? It's strange,cause tonight I connected frequently. But now I can't! :(

    Hey, guys! I connected to the wi-fi by my iPhone (5) for 3 weeks. Now my iPhone doesn't connect to the network anymore. And I can't understand why. Will you please help me? It's strange,cause tonight I connected frequently. But now I can't! :(

    Hello LNIN5,
    Thank you for using Apple Support Communities!
    I have a couple resources for you to help troubleshooting wifi connection issues with an iOS device.
    The first is named iOS: Troubleshooting Wi-Fi networks and connections and can be found here http://support.apple.com/kb/ts1398.
    Take care,
    Sterling

  • My Macbook sometimes doesn't connect to my Wireless N network

    I had my topcase replaced by apple a few weeks ago. Since then I've noticed my macbook SOMETIMES doesn't connect to my wireless N network (from my AEBS running on 5.8ghz frequency).
    It's strange because most of the time it finds the network fine. But sometimes when i open the macbook up (awakes from sleep) it doesn't see the network (it's not available from the list of available networks). If i try to connect manually to the network when this happens i get a "connection timeout" message. If i turn off my airport connection off and then on with the macbook (thru the menu bar) it sometimes finds the N network. Sometimes that doesn't work, and i have to put the macbook to sleep and hope it finds the network when it awakes. Sometimes that solves the problem, but i may have to try it 3 or 4 times.
    If i switch my AEBS to a mixed signal (supporting G) i don't have these problems, but i shouldn't have to do that, and i'm sacrificing wireless speed if i do that. I have a stable connection when it DOES find the network (it won't drop out and will be at full strength) but as soon as i put it to sleep i run the risk it may not find the network when it awakes.
    As i said before i didn't notice this problem before I sent in the macbook to have the topcase repaired - is it possible the airport card was damaged? I was only running a N wireless network a week prior to submitting the macbook for repair, so i'm not positive that's it either.

    There's a reason why some are less than energetic in answering your question: the "pinwheel of death" could mean a lot of things. To start off, you will need to use various utilities to coax your MBP into functionality:
    1. Perform a Permisions Repair, and also Repair your disk on Disk Utilities. If this doesn't work, proceed to the next step.
    2. Using a free utility like Onyx, clean your caches.
    3. Using the free Kext Wizard, make sure your files are consistent and accurate.
    4. Use OpenDNS by connecting to this link:
    https://discussions.apple.com/thread/2478039?start=0&tstart=0
    OpenDNS is a simple way of making your online experience faster and easier.
    If these steps were successful, take the time to post here; others will profit from your experience. If you still don't have the answer, post...and we'll find the solution!

  • My Iphone 5s doesn't work. When i power on appear searching the sim card, but doesn't connect to the operator. Who can help me?

    Hy dear!
    My Iphone 5s doesn't work. When i power on appear searching the sim card, but doesn't connect to the operator. Who can help me? I reset the Iphone, but doesn't fix the probem.
    Thanks

    Hi dear!
    I'm very disappointed with Apple products! I was 15 days without my Iphone 5, because it stopped working and the had to be replaced by authorized apple. Then i bought an iphone 5s in two days it stopped working. Doesn't read the sim card. I call to Apple suport and discovery that the model A1533 is not warranted in Brazil and need to be replaced, because there is a hardware problem. In a moment i don't have anyone Phone. Why Apple does not send other equipment equal to authorized to exchange my Iphone, because in Brasil doesn't have the same model? I liked a lot this Apple phone, but i can't use, i have one brand new, but doen'st work. I don't have anybody in USA to exchange in one Apple store. Please help me!
    Thanks.

  • My iMac running Mountain lion repeatedly doesn't connect o my BellAliant email accounts....Bell says it's Apples issue not theirs...thoughts?

    My iMac running Mountain lion repeatedly doesn't connect o my BellAliant email accounts....Bell says it's Apples issue not theirs...thoughts?

    There isn't a script.
    Mail connects to any standard email server.
    Open the Connection Doctor from the Window menu.
    Click Show Details and Check Again.
    What errors does it post trying to connect to your email provider.
    I dont' think there is any personal information in the output, but you might want to sanitize the output in a text editor before posting the output here in case there is a login user name or something like that.

  • Why has my ipad stopped connecting to the server?

    About two days ago my ipad stooed connecting to the web.  All the apps and browser pages oome back saying they cannot connect to the server.  However I have an phone and a pc that are both connecting to the web fine through the same router.  The ipad says it is connected to the router no prob.  What next?

    Some things to try first:
    1. Turn Off your iPad. Then turn Off (disconnect power cord for 30 seconds or longer) the wireless router & then back On. Now boot your iPad. Hopefully it will see the WiFi.
    2. Go to Settings>Wi-Fi and turn Off. Then while at Settings>Wi-Fi, turn back On and chose a Network.
    3. Change the channel on your wireless router (Auto or Channel 6 is best). Instructions at http://macintoshhowto.com/advanced/how-to-get-a-good-range-on-your-wireless-netw ork.html
    4. Go into your router security settings and change from WEP to WPA with AES.
    5.  Renew IP Address: (especially if you are drooping internet connection)
        •    Launch Settings app
        •    Tap on Wi-Fi
        •    Tap on the blue arrow of the Wi-Fi network that you connect to from the list
        •    In the window that opens, tap on the Renew Lease button
    6. Potential Quick Fixes When Your iPad Won’t Connect to Your Wifi Network
    http://ipadinsight.com/ipad-tips-tricks/potential-quick-fixes-when-your-ipad-won t-connect-to-your-wifi-network/
    ~~~~~~~~~~~~~~~~~~~~~~~~~
    Fix WiFi Issue for iOS 7
    http://ipadnerds.com/fix-wifi-issue-ios-7/
    iOS 6 Wifi Problems/Fixes
    Wi-Fi Fix for iOS 6
    https://discussions.apple.com/thread/4823738?tstart=240
    How To: Workaround iPad Wi-Fi Issues
    http://www.theipadfan.com/workaround-ipad-wifi-issues/
    Another Fix For iOS 6 WiFi Problems
    http://tabletcrunch.com/2012/10/27/fix-ios-6-wifi-problems-ssid/
    Wifi Doesn't Connect After Waking From Sleep - Sometimes increasing screen brightness prevents the failure to reconnect after waking from sleep. According to Apple, “If brightness is at lowest level, increase it by moving the slider to the right and set auto brightness to off.”
    Fix For iOS 6 WiFi Problems?
    http://tabletcrunch.com/2012/09/27/fix-ios-6-wifi-problems/
    Did iOS 6 Screw Your Wi-Fi? Here’s How to Fix It
    http://gizmodo.com/5944761/does-ios-6-have-a-wi+fi-bug
    How To Fix Wi-Fi Connectivity Issue After Upgrading To iOS 6
    http://www.iphonehacks.com/2012/09/fix-wi-fi-connectivity-issue-after-upgrading- to-ios-6.html
    iOS 6 iPad 3 wi-fi "connection fix" for netgear router
    http://www.youtube.com/watch?v=XsWS4ha-dn0
    Apple's iOS 6 Wi-Fi problems
    http://www.zdnet.com/apples-ios-6-wi-fi-problems-linger-on-7000004799/
    ~~~~~~~~~~~~~~~~~~~~~~~
    iPad: Issues connecting to Wi-Fi networks
    http://support.apple.com/kb/ts3304
    How to Boost Your Wi-Fi Signal
    http://ipad.about.com/od/iPad_Troubleshooting/a/How-To-Boost-Your-Wi-Fi-Signal.h Mt
    Troubleshooting a Weak Wi-Fi Signal
    http://ipad.about.com/od/iPad_Troubleshooting/a/Troubleshooting-A-Weak-Wi-Fi-Sig nal.htm
    How to Fix a Poor Wi-Fi Signal on Your iPad
    http://ipad.about.com/od/iPad_Troubleshooting/a/How-To-Fix-A-Poor-Wi-Fi-Signal-O n-Your-iPad.htm
    iOS Troubleshooting Wi-Fi networks and connections  http://support.apple.com/kb/TS1398
    iPad: Issues connecting to Wi-Fi networks  http://support.apple.com/kb/ts3304
    WiFi Connecting/Troubleshooting http://www.apple.com/support/ipad/wifi/
    How to Fix: My iPad Won't Connect to WiFi
    http://ipad.about.com/od/iPad_Troubleshooting/ss/How-To-Fix-My-Ipad-Wont-Connect -To-Wi-Fi.htm
    iOS: Connecting to the Internet http://support.apple.com/kb/HT1695
    iOS: Recommended settings for Wi-Fi routers and access points  http://support.apple.com/kb/HT4199
    How to Quickly Fix iPad 3 Wi-Fi Reception Problems
    http://osxdaily.com/2012/03/21/fix-new-ipad-3-wi-fi-reception-problems/
    iPad Wi-Fi Problems: Comprehensive List of Fixes
    http://appletoolbox.com/2010/04/ipad-wi-fi-problems-comprehensive-list-of-fixes/
    Connect iPad to Wi-Fi (with troubleshooting info)
    http://thehowto.wikidot.com/wifi-connect-ipad
    10 Ways to Boost Your Wireless Signal
    http://www.pcmag.com/article2/0,2817,2372811,00.asp
    Fix iPad Wifi Connection and Signal Issues  http://www.youtube.com/watch?v=uwWtIG5jUxE
    Fix Slow WiFi Issue https://discussions.apple.com/thread/2398063?start=60&tstart=0
    How To Fix iPhone, iPad, iPod Touch Wi-Fi Connectivity Issue http://tinyurl.com/7nvxbmz
    Unable to Connect After iOS Update - saw this solution on another post.
    https://discussions.apple.com/thread/4010130
    Note - When troubleshooting wifi connection problems, don't hold your iPad by hand. There have been a few reports that holding the iPad by hand, seems to attenuate the wifi signal.
    Some Wi-Fi losses may stem from a problematic interaction between Wi-Fi and cellular data connections. Numerous users have found that turning off Cellular Data in Settings gets their Wi-Fi working again.
    You may have many apps open which can possibly cause the slowdown and possibly the loss of wifi. In iOS 4-6 double tap your Home button & at the bottom of the screen you will see the icons of all open apps. Close those you are not using by pressing on an icon until all icons wiggle - then tap the minus sign. For iOS 7 users, there’s an easy way to see which apps are open in order to close them. By double-tapping the home button on your iPhone or iPad, the new multitasking feature in iOS 7 shows full page previews of all your open apps. Simply scroll horizontally to see all your apps, and close the apps with a simple flick towards the top of the screen.
    Wi-Fi or Bluetooth settings grayed out or dim
    http://support.apple.com/kb/TS1559
    ~~~~~~~~~~~~~~~
    If any of the above solutions work, please post back what solved your problem. It will help others with the same problem.
     Cheers, Tom

  • Why does ichat video not connect?  The error message says we did not respond.

    Why does ichat video not connect?  The error message says we did not respond.

    Hi,
    iChat uses several port as they are called over the internet to do different things
    Text Chats and Video Chats are on different Ports.
    You probably don't have the port open.
    Use UPnP in your router if it has it.
    8:59 PM      Sunday; August 12, 2012
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Lion 10.7.2)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • Why has my ipad lost connectivity to the AT&T cellular data network after upgrading to iOS 8.1.2?  My iPad is model #MD367LL/A, 32 GB WIFI + Cellular, about 2-1/2 years old.

    Why has my ipad lost connectivity to the AT&T cellular data network after upgrading to iOS 8.1.2?  My iPad is model #MD367LL/A, 32 GB WIFI + Cellular, about 2-1/2 years old. It;s been working perfectly up until now.  I have no problem on my home WIFI, or through personal hotspot working through my iPhone 5.
    I have worked with AT&T, replaced the SIM card with a new one, and done a backup/restore to factory settings, all with the same result that when I turn Cellular
    Data on, with or without Enable LTE, it goes into "searching" mode, or reports "no service".  My iPhone 5 works perfectly on iOS 8.1.2, on Cellular.  I've browsed the blogs and have tried Apple's suggested fix, all to no result. 
    Oddly enough, every once in a while I do get connected to the network for a short ime (minutes), but it always returns to "searching".
    I've filed a report with Apple, along with a request that they contact me, but no results yet.
    Help? (and thank you).

    Hello razmee209.  Thank you for your response.  I spent the better part of yesterday working with Apple Support.  They tried their best, to include backing up photos to my HP laptop, backing up the iPad to iCloud, then resetting the iPad in total.  Same problem.  I restored from the cloud to recover my apps, same problem.
    AT&T installed a new sim card - same problem.  I spent time with AT&T Support yesterday, too.  In both cases, (Apple and AT&T) the support techs who worked with me were extremely polite, courteous and helpful to the best of their abilities, but I think the problem lies deeper, and nobody at Apple is admitting they have a problem with iOS 8, that I'm aware of.
    I didn't have this issue before I upgraded to iOS 8.1.2.
    Everything else with the iPad works fine:  WIFI, Personal Hotspot, email, all my apps, etc.
    In browsing the web for this issue I see that many other folks have the same problem.  I filed a report with Apple this morning, requesting that they contact me, but no word yet.  I was going to go to iPhone 6, and had been considering the iPad Air 2, but I see reports of this problem with those units as well.
    At this point I don't think I'll be spending any more money with Apple, at least not till this issue is resolved.
    Thanks again for your response and suggestions.

  • HT4628 My macbook pro doesn't connect to the Wi-Fi at home while my iPad connects to the same Wi-Fi. When I try connecting my macbook to my iPhone's personal hotspot, the internet works but the issue is connecting my macbook to the Wi-Fi. Please help!!

    My macbook doesn't connect to the Wi-Fi at home while my iPad connects to the same Wi-Fi. When I try connecting my macbook to my iPhone's personal hotspot, the internet works but the issue is connecting my macbook to the Wi-Fi. Please help!!
    I don't understand how to fix this and I don't seem to understand where the problem is coming from.

    Let's try the simple approach first. Restart your router. Any change?

  • How to restart base station from airport utility? I used to be able to do it remotely  I currently use a Mac Pro 10.8.4 and have a time machine for wireless 6.3 (630.34). Sometimes I cannot connect to the internet and use network preferences to diagnose t

    How to restart base station from airport utility? I used to be able to do it remotely
    I currently use a Mac Pro 10.8.4 and have a time machine for wireless 6.3 (630.34). Sometimes I cannot connect to the internet and use network preferences to diagnose the issue. This results in being told to restart the wireless. The airport utility includes the drop down option of restarting but is not clickable so I can't choose it.
    With my prior macbook and same time capsule, etc  if i had problems connecting to the internet I would run network diagnostics to help out. This included clicking on the airport utility ---> base station --> restart. This worked most of the time.
    Bottom line, is there something I am missing in not being able to restart the wi-fi remotely? ]
    Thanks in advance

    You are likely forgetting a step.
    Open AirPort Utility
    Click on the Time Capsule icon
    Click Edit in the small window that appears
    Now click the Base Station menu.....top of the screen....not the Base Station "tab" in the center of the screen
    Click Restart

  • ITunes doesn't connect to the store (no error message, just blank page)

    Hi everyone! I'm having troubles with my iTunes for windows XP. It doesn't connect to the music store, it doesn't display any error message and the loading bar stops to a half and then iTunes remains with the blank page, going no further. When I run the diagnostics, it gives me all green dots. So I really don't know what the trouble is... I can only access my accout information and radio stations, nothing more. Can someone help me out please? Thank you very much!

    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    *Firefox > Preferences > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Firefox > Preferences > Privacy > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • I updated a program on my mac and now safari doesn't connect to the internet but outlook mail is working - help

    I updated a program on my Mac Book Pro and now Safari doesn't connect to the internet but Outlook and my mail does.
    I have shut the compluter down completely but I still have the problem.
    Any sugestions out there?

    I suggest you download and install EtreCheck from http://etresoft.com/etrecheck
    Run EtreCheck and publish report here.
    This will give us a complete report on her Mac and allow us to help you.
    Allan

Maybe you are looking for