A
A
Alex_Buzz2017-05-17 17:49:31
1C
Alex_Buzz, 2017-05-17 17:49:31

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

2 answer(s)
A
Anton Anton, 2017-05-18
@Alex_Buzz

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

A
Alejandro Esquire, 2017-05-17
@A1ejandro

Maybe this will help something https://goo.gl/Es2Ki4

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question