I find the problem. this was my mistake!!
In SQL Server 2017 cluster type none and external is added and when I configured Alwayson change cluster type to none.
In the new configuration change the cluster type to Windows Server Failover Clustering and Listener is added to AD and everything is ok.
Thank you for all for helping me.