Hi mahmoud, I'm here to help with your problems.
It looks weird, so can you try the following steps and give me your information more?
- Check if the issue occurs when using 127.0.0.1.
- After server restart, does the issue consistently occur after a certain amount of time?
- Are there any specific actions taken after server restart?
- Check if any events are logged in the event log when unable to access.
- Is there a difference in the results when the following commands are executed when access is available and when it is not? Test-NetConnection -ComputerName <IPAddress or Hostname> -Port 445
If you have any questions, feel free to ask me.
Best regards,
Yu