As we know that we can't provide port number during transactional replication configuration.
What i did was,created alias with non-default port in both publisher and subscriberm, they replicaiton went fine.
Is there any other way to configure replication without creating alias in sql server configuration manager.
I am using SQL Server 2016 Ent.