diff --git a/files/script.py b/files/script.py
index 737c9fb9041e647079ec0221abeb6fa3277196b8..9d7322f5497c2847a3a3f3df07b2857ce9aa423a 100644
--- a/files/script.py
+++ b/files/script.py
@@ -392,9 +392,9 @@ def import_dep_info(file_path, endpoints_to_scan):
             else:
                 host = url
                 if prefix == "https":
-                    port = 443
+                    port = '443'
                 elif prefix == 'http':
-                    port = 80
+                    port = '80'
                 else:
                     raise Exception(f"Impossible to parse the endpoint port. Endpoint: {endpoint}")
             print(f"Endpoint: {host}:{port}")