ITADN

Have an issue running 2 instances of a Trinity console app?

#376Closedmwherman2000 创建于 2023-04-14
M
mwherman2000commented
I'm overriding the ports properly, ...that's not the problem... ```C# TrinityConfig.HttpPort = nodePort; #pragma warning disable CS0612 // Type or member is obsolete TrinityConfig.ServerPort = TrinityConfig.HttpPort + 1; #pragma warning restore CS0612 // Type or member is obsolete ``` The problem seems to be because I'm running each instance out of the _same "Debug" folder_ in Visual Studio. See below. ![image](https://user-images.githubusercontent.com/6101736/232071839-f6faf318-bd80-47ee-ba51-418cdacd8979.png) How can I override/specify which Trinity database folder to use? Is this what I need to be able to do? NOTE: If I make a copy of my "Debug" folder and run an instance out of each folder, things appear to work fine. Michael
关闭于 2023-05-08 4 条评论