I saw another question like this, but none of the answers seemed to work, so here is my situation.

My computer is getting Internet. I am asking this question from the same PC, so I clearly have a working Internet connection. When I open Minecraft, the launcher comes up and then just says "Play Offline". How can I play online? Is something blocking it? Any help would be appreciated!

NOTE: This happens when playing from my PC and my gameband when plugged into my PC!


My entire firewall is now disabled, but it is still doing this. All errors say to check the firewall and allow Minecraft through, but it is disabled (and even if it wasn't, it allows both Minecraft and Java TM SE Binary).

I am starting to think it may be malware. Any ideas for finding any malware programs that block Internet use (if they exist)?

  • You probably aren't logged into your account. Is there a "Sign In" button or something similar in the bottom corner?
    – Nick B.
    Aug 14, 2015 at 2:17
  • @NickB. what is that other question? Could it be you're behind a VPN or proxy? (Eliminating common problems)
    – aytimothy
    Aug 14, 2015 at 2:45
  • Windows Firewall might be disabled, but what about antivirus programs with their own firewall? Some of them (Norton IIRC) even leave their firewall running after you disable the entire application. What antivirus software do you have installed, and does it have any settings related to the firewall?
    – Robotnik
    Aug 14, 2015 at 4:33
  • @Robotnik lol, too many Nick's for one post. Anyways, I don't have any antivirus that I know about. I have norton account, but I haven't gotten it for this PC yet. I am running a malwarebytes scan now to see if it might be maleware.
    – Nick
    Aug 14, 2015 at 4:42
  • Make sure your router or ISP does not block the mojang auth servers. While all ISP's should have it as a trusted address, checking if so just narrows it down.
    – Judge2020
    Aug 14, 2015 at 23:08

6 Answers 6


You must be signed in to play online.

If you have a legitimate version of Minecraft then it should prompt you to sign in upon launch.

You can try checking your firewall to make sure your computer is not blocking the internet connectivity of the application.

  • I am logged in, I knew that, but now when I went to multiplayer (When playing offline), it says would you like to keep blocking or unblock... When I click unblock, I guess it unblocked it, but I still could not play online. When I try to login(just to test), it says cannot connect to mojang auth servers!
    – Nick
    Aug 14, 2015 at 3:09
  • I'm a little confused. You said at the beginning of your comment you are logged in, but at the end of the comment you said you tried to login and it wouldn't connect. So you were already logged in and playing online before? Or is this the first time you've tried playing on this PC?
    – GrantSlay
    Aug 14, 2015 at 3:18
  • What happened is I was somehow logged in, but online was not working (I have played on this PC before). I decided to try and log out and relog to see what would happen. When I tried to relog it said cannot connect to auth servers.
    – Nick
    Aug 14, 2015 at 3:23
  • Okay so it sounds like your computer might be blocking the internet connectivity of the application. Here are the instructions to check it on Windows: Go to Control Panel, find and open Windows Firewall. At the left click on "Allow a program through Windows Firewall". Click the "Add Program" tab which will bring up a list of all the programs on your system. Find Minecraft, click the box to check it, click OK, then Apply and finally OK to close.
    – GrantSlay
    Aug 14, 2015 at 3:38
  • That's what I though too, but everything marked as either Minecraft or Java a TM SE Binary is allowed through public and private networks!
    – Nick
    Aug 14, 2015 at 3:41

Sometimes you do need to wait up to 20 seconds. You should see the launch button switch from Play Offline to Play.

Have you tried changing where the gameband is plugged in, I know it sounds stupid but sometimes it works

Hope this helps and have fun gaming!


Sometimes, also checking with your host or the host and see if the server has "Online Mode = True" or not. That would be on the person whos hosting the server "server.properties" file. That can also be looked at to see if thats 1 reason, other then you logging in or just checking your firewall ports, however the firewall ports are usually taken care of once you log in to minecraft connecting to a world, your firewall should pop up and ask you "Accept or Not Accept." Those are the only 3 possibilities thats preventing you from logging in. It WILL be one or the other.



  • uninstalling your Minecraft
  • then heading to %appdata%\Roaming.minecraft\
  • Nine times out of ten, that .minecraft folder will still be there, its safe to delete it, however with that being said, I hold no responsibility should you delete your favorite mods. If you have files you want to save and not delete, just rename that .minecraft folder to .minecraftBACKUP
  • Last step is to reinstall Minecraft again, it should solve your problem, if it does not, then you need to trace back the steps We all told you about back in https://gaming.stackexchange.com/a/348599/229636

Good luck, it's an almost guarantee that out of everything stated here and from what others have told you, somethings gotta work, if not, your not paying attention to any details during your installation or even the instructions from Minecraft, as you should, just in case you happen to miss the firewall rules. Please, let us know the outcome if should it work :) That helps!


I had the exact same problem recently, and I have worked out how to fix it. For images to help, look at the bottom of this post.

On your PC, navigate to your file explorer. Now, on the bar at the top, copy and paste this: C:\Windows\System32\drivers\. When you are brought to this page, find the search bar, and type in: hosts. This should bring up a file. Make sure that you permanently delete this, and no need to restart your launcher. It should connect now.

Images to help:


HOSTS in search bar

  • I'd be wary of deleting the hosts file - this is a system file. If you think your hosts file is the issue, you'd be better off resetting it to default instead
    – Robotnik
    Oct 16, 2020 at 4:15

If you have tried everything and non of them have worked then you should just back up your world saves and resource packs, delete everything related to minecraft (apart from the saves and packs you backed up) and try re-installing it. If that doesn't work then try and contact Mojang.

I hope this helped, and if it did happy mining.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .