Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Blocking IP Address?

I am on a river cruise with wifi through Central Europe and was successfully communicating with our code repository on bitbucket (via Eclipse Mercurial)

Several days ago, my ability to Sync with the repository stopped working. I get this message back from Eclipse every time I try:

error: An existing connection was forcibly closed by the remote host

That sure suggests I am somehow getting blocked all of a sudden. I have done all the obvious things like restart Eclipse, reboot, etc., etc. and nothing helps.

Is it possible my IP has been blocked because of where we have been traveling (i.e. some countries not allowed)? Baffled why it worked then stopped all of a sudden.

3 answers

3 accepted

0 votes
Answer accepted


We have left the river boat, are at local hotel, and the connection to bitbucket is restored!

Sorry for the long "goose chase"... pretty bizarre my boat connection worked for about 1/2 the trip then died. But it surely was because they ended up blocking the connection to bitbucket.

All is well now! :-)

No worries, I'm always happy to help :) Glad to hear it works now!

Have a safe rest of your journey!


@Daniil Penkin 


Hey, I have same issue, the thing is:

It happened all of the sudden after 2 of my pushes today.

I tried to push 3rd update (it wasn't spamming, I would say every 2 hours?) and all of the sudden... It says timed out. Also, I cannot reach the website of our url bitbucket server.

I've tried using data from phone, of course I cannot connect only using my wifi. It stopped working just like that.

It looks like I'm blocked. I'm in UK. Is there any way to check if my IP has been blocked? Or what happened at all? It seems my organization can't see any whitelist IPs document etc.


I have tried updating, resetting, configuring, checking proxies, checking firewalls (I would say almost everything). It's 100% wifi but still... It worked perfectly and just stopped after second push ;?


Hope we can find a solution,


Hi, same issue here. 
I was working but suddenly i cant access. I try to reach on my mobile phone via cellular service, and it does reach successfully.

How can i solve this issue :(

0 votes
Answer accepted

Thank you for the fast reply.

No, I am unable to reach any of bitbucket by direct web. I cannot even get the main page to pop for me ( nor our repository web address at bitbucket.

I get the following error message instantly when I try:

This site can’t be reached

The connection was reset.

This might suggest I am completely disconnected, but that is not the case. I can reach other websites easily, and in fact am writing this reply via a live connection.

I saw in another post on a similar topic that your requested a trace. So here is what I am getting back when I trace to

Tracing route to []
over a maximum of 30 hops:

1 2 ms 1 ms 2 ms
2 4 ms 3 ms 3 ms
3 * * * Request timed out.
4 * * * Request timed out.
5 114 ms 120 ms 107 ms []
6 184 ms 160 ms 137 ms
7 * * * Request timed out.
8 * * * Request timed out.
9 * * * Request timed out.
10 * * * Request timed out.
11 131 ms 126 ms 107 ms []
12 122 ms 115 ms 205 ms []
13 124 ms 125 ms 119 ms []
14 193 ms 197 ms 206 ms []
15 * * * Request timed out.
16 242 ms 233 ms 269 ms
17 210 ms 237 ms 205 ms
18 * * * Request timed out.
19 * * * Request timed out.
20 * * * Request timed out.
21 276 ms 224 ms 232 ms
22 * * * Request timed out.
23 * * * Request timed out.
24 * * * Request timed out.
25 * * * Request timed out.
26 * * * Request timed out.
27 * * * Request timed out.
28 * * * Request timed out.
29 * * * Request timed out.
30 * * * Request timed out.

Trace complete.

Not sure if that helps.

Sure seems like the connection is unable to complete for some reason (whereas connections to other sites work fine). And I know this connection worked fine from this river boat (via their wifi) just fine a few days ago. Odd.

  • Can you try a different device, like mobile phone for example? Something simple like navigating to ?
  • Do you have any software like antivirus which can intercept connections? Can you turn it off and try again?
  • Can you try running these commands and check their output?
    telnet 22
    telnet 22 

This will hopefully shed some light on what's happening.


Good suggestions. Here's the results:

  1. My mobile phone, when connected via cellular service, does reach successfully. But of course I'd expect that...

    Let's try when the mobile is connected to the boat's wifi...

  2. OK, when I connect to the boat's wifi via my phone, I get an immediate reject:

    "Safari cannot open the page because the network connection was lost."

    Again, it is an instant reject; no spinning wait indicator... but a fast rejection.
    This again points to the rejection happening via the ship's wifi (and no internal to my PC). 

    But let' be sure...

  3. I do have Kaspersky on the PC. I just suspended it for this test and tried again...

    Interestingly, Windows Defender immediately turned itself on to protect me; let's suspend that too for a moment...

    Nope. I just tried to connect again, and I get the exact same reject messages (both via Eclipse and via a standard browser to

  4. Let's be sure it's not the browser somehow... trying MS Edge now:

    Nope... also a failure but a slightly different rejection message from Edge:

    Can’t connect securely to this page.
    This might be because the site uses outdated or unsafe TLS security settings. If this keeps happening, try contacting the website’s owner.

  5. I was not immediately able to send a telnet command (and need to stop for a while). Will see what I can do later.

Overall, still smacks of something blocking me somewhere along the line.

Thanks for the thorough investigation, @jstrong611!

Ok, so what you discovered confirms the assumption that there's something wrong with the network and not with your local machine environment.

Now, as I said I don't see any signs that your account is locked in any way on Bitbucket side. We never blacklist IP ranges AFAIK, but we might blacklist specific addresses when we're sure that certain address is trying to DoS/runs a bot violating ToS, etc. Just to eliminate this option can you please check your external IP address, which I believe will be a single NAT address of the ship's network)? You can simply google for "what is my ip", and you'll get it right below the search bar. I'll check that address with the SRE team. However I don't think this will be the cause. 

Another assumption is that Bitbucket has been locked on the ship's network. Can't imagine a reason for this, maybe they found huge traffic to/from it and decided to shape it? I assume the ship is using either cellular or even satellite WAN connection, both of which are quite expensive, so they might want to cut some traffic down.

What you can try as a workaround is to use an external HTTP proxy or a VPN service (running somewhere outside of ship's network). Your laptop will be able to interact with the proxy/VPN server, which in turn will be able to talk to Bitbucket. Do you have a chance to try any of these options?


I too am starting to suspect that the ship's network is blocking, perhaps due to traffic. What's odd is it worked for a while. I wonder if they saw a blip in usage and then clamped it? Dunno.

Anyway, my IP is:

We leave the ship tomorrow for a hotel, then head home from there. At this point, let's suspend the investigation until I am on a different network and - hopefully - this all resolves itself!

If so, I will post that the issue is resolved, and we can move on. Thanks for all of the investigative efforts! :-)

Like Daniil Penkin likes this
0 votes
Answer accepted

Hello @jstrong611,

I'm not aware of any geo-based firewall filtering rules in Bitbucket. I didn't find any signs of Bitbucket being blocking you for any reason, your account is active. Let's try to trace this down:

  • Do you have access to Bitbucket web UI, or is it not available too?
  • Does this happen to all of Bitbucket or just one repository?
  • Can you try fetching/updating the repository in question using command line and see the output? Maybe it'll give some hint on what's happening.

Let me know what you find.


Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

3,850 views 10 16
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you