Question

Cannot connect to droplet - Error code

I have been able to connect to my droplet daily for the last two weeks, now i cannot connect via microsoft remoter desktop. i have tried restarting my xrdp but cannot connect. I can connect via ssh through the terminal but not remote desktop. I am on Mac os Intel. This is the error i receive:

We couldn’t connect to the remote PC. This might be because of a network problem. If this keeps happening, contact your network administrator for assistance.

Error code: 0x704

Show comments

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.

alexdo
Site Moderator
Site Moderator badge
February 22, 2023

Hello @developerssquid

You can check if the xrdp service is running. The service might have crashed and now causing the connectivity issues for you.

To check the status run:

  1. sudo systemctl status xrdp

and to start it:

  1. sudo systemctl start xrdp

This will be a good starting point to troubleshoot the issue. If there are error messages in the following log you can share them here - /var/log/xrdp-sesman.log

Regards

KFSys
Site Moderator
Site Moderator badge
February 20, 2023

Hey @developerssquid,

Is your Droplet online? Try to ping it and see. If it’s not only, try rebooting it and then checking the logs for the reason it went offline.

If it’s online and pinging, try to SSH to it using the debug mode:

ssh -vvv root@YourDroplet_IP

Post the debug message if the Droplet was online and you couldn’t SSH to it.

Try DigitalOcean for free

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

Sign up

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

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

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

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