Skip to content

Can't connect to windows server from mac

0

I'm trying to use the Connect to Server from Finder on my mac to connect to an ec2 windows instance. We are using a vpn and if I use my windows virtual machine, i can connect. I just can't from actual mac. I've enabled SMB on the windows server and opened port 445 in the windows firewall, but still can't connect. Any suggestions?

asked 2 years ago316 views

2 Answers
0

It appears you're having trouble connecting to your Windows EC2 instance from your Mac, even though you can connect using a Windows virtual machine. While your specific issue with SMB and Finder is not directly addressed in the provided sources, I can offer some general troubleshooting advice for connecting to Windows EC2 instances from a Mac.

For connecting to Windows EC2 instances from a Mac, it's recommended to use Remote Desktop Protocol (RDP) rather than SMB. Here are some steps you can try:

  1. Download and install the Microsoft Remote Desktop app from the Mac App Store. This is the preferred method for connecting to Windows instances from macOS.

  2. Ensure that your EC2 instance's security group allows inbound RDP traffic (port 3389) from your IP address or VPN network range.

  3. Verify that your VPN is correctly configured to route traffic to the VPC and that the private IP of the EC2 instance is accessible through it.

  4. Check that the Network ACLs and route tables in your VPC are configured to allow traffic between your VPN and the EC2 instance.

  5. On the Windows instance, make sure the Remote Desktop service is running and configured to accept connections.

  6. If you're still unable to connect, you may want to temporarily disable the Windows Firewall on the EC2 instance to rule out any firewall-related issues.

If these steps don't resolve the issue, you might want to consider using AWS Systems Manager for troubleshooting. It provides tools that can help diagnose and resolve connectivity problems with EC2 instances.

Remember, while SMB (port 445) is used for file sharing, it's not typically used for remote desktop connections to Windows servers. RDP is the standard protocol for this purpose, which is why the Microsoft Remote Desktop app is recommended for connecting from a Mac to a Windows EC2 instance.
Sources
Troubleshoot issues connecting to your Amazon EC2 Windows instance - Amazon Elastic Compute Cloud
Connect to your Windows instance using an RDP client - Amazon Elastic Compute Cloud
Remote Desktop Connection failure | AWS re:Post

answered 2 years ago

0

I can already connect using RDP. I need to connect using Finder because I need access to our codebase. Mapping to the windows folder is needed to access the files in my IDE.

answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.