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?

preguntada hace un año832 visualizaciones
1 Respuesta
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
EXPERTO
respondido hace un año
  • 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.

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas