What is the differnet between those sql server ports 445 and 1433 and for what every port intended ?
445 is used to communicate using named pipes over TCP (as described here), 1433 is used to communicate directly over TCP.
445 is not a SQL port, is a SMB port. It is involved in SQL Server only if you use named pipes protocol, as named pipes are over SMB and this in turn uses 445 for 'SMB over IP', aka. as SMB 'NETBIOSless' as opposed to the old NetBIOS based SMB, which uses 137-139.
1433 is the SQL Server TCP listener port when SQL Server uses directly TCP.
To configure the server to listen on specific protocols, use SQL Server configuration Manager. To configure the client allowed protocols, see Configuring Client Network Protocols.
It is better to disable Net Pipes and rely solely on TCP (1433), for reasons of performance and easy of deployment/configuration.