EC2 Windows Server 2022 can't map network drive locally

0

I created a shared folder on a Windows server instance and I can't access the directory locally from my pc. I tried mapping network drive from another Windows server instance and it did work. What could be the problem?

질문됨 9달 전550회 조회
1개 답변
0

Hi there.

A few things to consider are:

  • Is the EC2 instance in a public subnet? If not, it is not possible. If so, ensure you are using the correct public DNS or IP (Elastic IP preferable).
  • Are you allowing inbound and outbound TCP traffic on port 445 in the subnet NACL?
  • Are you allowing inbound TCP traffic on port 445 in the instance security group?
  • If Windows Firewall is enabled, you also need inbound and outbound TCP traffic allowed on port 445.

I hope this helps.

profile pictureAWS
전문가
답변함 9달 전
  • Thanks for your reply.

    1. I'm using elastic IP for public connection.
    2. I checked and I did not have these rules configured in the NACL of the subnet. I added the rules but I still can't map the drive.
    3. Yes.
    4. The firewall is disabled.
  • Hi there.

    • Is the instnce in a public subnet?
    • Can you check that on your local machine you have allowed traffic on port 445 (inbound and outbound)?

    Thanks.

  • Hi.

    the subnet is public and the port 445 is allowing traffic (i mounted another drive folder from external machine and it works). I dont know why the shared folder from ec2 instance is not working.

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠