As per details I can understand from your query.
This is probably because in the tutorial he is using a sql database (microsoft sql server management studio). And you maybe copied the port number and other config settings as in the video. So it would not work. That sql database is running in his local setup and your app won’t access it.
You would need your own local sql database setup, and then you would specify port for it. In this case, copying exactly from the tutorial won’t work.
I guess your configuration is wrong, because it says:
com.microsoft.sqlserver.jdbc.SQLServerException: The port number database=deliveryDB is not valid.