Question

Server cannot be reached from some devices and networks

Unable to connect to my server on some devices and network. While there is no problem on one device or the network, the website does not open at all on another.

When I try to curl I get this message from 1 of 10 curls, other 9 is

curl -I https://mydomain.com/
curl: (35) error:02FFF03C:system library:func(4095):Operation timed out

Or:

curl -v https://mydomain.com/
* Trying 128.199.34.16:443...
* Connected to mydomain.com (128.199.34.16) port 443 (#0)
* ALPN: offers h2
* ALPN: offers http/1.1
*  CAfile: /etc/ssl/cert.pem
*  CApath: none
* (304) (OUT), TLS handshake, Client hello (1):
* error:02FFF03C:system library:func(4095):Operation timed out
* Closing connection 0
curl: (35) error:02FFF03C:system library:func(4095):Operation timed out

Other success curls:

umid@Umid-MBP ~ % curl -I https://mydomain.com/
HTTP/1.1 200 OK
Date: Wed, 01 Mar 2023 13:57:55 GMT
Server: Apache/2.4.41 (Ubuntu)
Set-Cookie: PHPSESSID=tp1ka9nalqqfa639idjtoa8ogv; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate
Pragma: no-cache
Link: <https://mydomain.com/wp-json/>; rel="https://api.w.org/"
Link: <https://mydomain.com/wp-json/wp/v2/pages/14921>; rel="alternate"; type="application/json"
Link: <https://mydomain.com/>; rel=shortlink
Content-Type: text/html; charset=UTF-8

Sometimes it happens and sometimes not.

I disabled ufw and fail2ban to check If they blocks but no change.

Ubuntu 20.04 / Apache2


Submit an answer


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Bobby Iliev
Site Moderator
Site Moderator badge
March 2, 2023

Hi there,

What I could suggest is running an mtr or traceroute from the devices that the connection is failing.

That way you will be able to tell where exactly the packets are getting lost.

Feel free to share the output of the traceroute here so we could advise you furhter1

Best,

Bobby

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

card icon
Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Sign up
card icon
Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We’d like to help.

Learn more
card icon
Become a contributor

You get paid; we donate to tech nonprofits.

Learn more
Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow – whether you’re running one virtual machine or ten thousand.

Learn more ->
DigitalOcean Cloud Control Panel
Get started for free

Enter your email to get $200 in credit for your first 60 days with DigitalOcean.

New accounts only. By submitting your email you agree to our Privacy Policy.

© 2023 DigitalOcean, LLC.