Due to the increase in cargo handling in ports, and the thereby increase of trucking directly associated with them, this article examines the impact of heavy goods vehicles generated by the port facilities on the environment. The article determines what is feasible to limit the percentage increase in the number of HGVs generated by the port areas such as container terminals or mass, which will result in a significant increase in emissions in the port city. In this study, five intersections were analyzed using micro-simulation to determine exhaust emissions such as CO, NOx, VOC, and fuel consumption. The analysis was made on the example of the port city of Gdynia in Poland, using the actual data. The use of the PTV Vissim tool made it possible to obtain the result data from the simulation of ten variants with a variant representing the current state. The results indicate that increasing the number of HGVs generated by port areas by 40% will make a significant difference in exhaust emissions. The obtained results can be useful for controlling the level of environmental pollution as predictive models.