Answer the question
In order to leave comments, you need to log in
How to set up a firewall for debugging 1C 8.3?
Hello colleagues!
A little about the configuration:
Server 1C + MS SQL Server (hereinafter referred to as the database server) on the one hand and the Terminal Server (hereinafter referred to as the TS) on the other. On the database server, a separate instance of the 1C server was raised with the -debug parameter. Parameters for starting the 1C server service with debugging: "...ragent.exe" -srvc -agent -regport 1544 -port 1543 -range 1660:1691 -debug -d "...\1C\1cv8d".
Debugging in the module with the &AtServer directive does not work on the vehicle. Rather, it works, but only if you completely disable the TS firewall. Added debug server ports to firewall exceptions on the vehicle. In the configurator, the checkboxes "Set debugging permission mode" and "Start debugging at startup" are checked. In the menu "Debug" - "Connection" in the window "Available debugging items" I see items with the type "Server" and even connect them, but the breakpoint in the module still does not work. I turn off the firewall and the breakpoints work. I don’t understand ...
I decided to do this: I turned off the firewall, started debugging, entered the netstat -aon command, looked at what ports 1C (configurator) uses and added these ports to exceptions. However, it did not give any result ... Please share
Answer the question
In order to leave comments, you need to log in
you need to allow all connections on ports in the range 1660:1691 (in this case)
well, or configure separate port ranges https://its.1c.ru/db/v8310doc#bookmark:dev:TI000001041
and you can also configure debugging via http, there will be fewer rules.
https://its.1c.ru/db/v8310doc#bookmark:dev:TI000001598
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question