I want to run the same application installed in 2 Wine bottles (using Wibom) at the same time. Only one can run, not both. Because the app needs to access port numbers 10205,10206, etc., I suspect that running 2 of it (even from separate bottles) causes conflicts at the ports. I wonder if there is a way to remap the port numbers through Wine to different Linux port numbers?
cnbiz850 wrote:> I want to run the same application installed in 2 Wine bottles (using Wibom) at the same time. Only one can run, not both. Because the app needs to access port numbers 10205,10206, etc.First of all those are not serial ports, but a network port (most likely TCP). Second, Wine can't "remap" them if you application opens those ports to listen for incoming connections.
OK. Thanks. In order to run independent sessions of Wine, either Wine or the bottle management should have mechanisms to remap the ports. Since Wine already provide some independent mechanisms using the prefixes, and Wibom is just simple wrappers using the prefixes, Wine should consider handling the port remap issue. Anyone agree, disagree?
cnbiz850 wrote:> Wine should consider handling the port remap issue.There is nothing to fix here. You simply not allowed to open the same port for listening by multiple applications. This holds true on any *NIX system as well as Windows. And Wine is not a VM to sandbox everything.
On 10/14/10 5:11 PM, cnbiz850 wrote:> OK. Thanks. > > In order to run independent sessions of Wine, either Wine or the bottle management should have mechanisms to remap the ports. Since Wine already provide some independent mechanisms using the prefixes, and Wibom is just simple wrappers using the prefixes, Wine should consider handling the port remap issue. > > Anyone agree, disagree? >Disagree. The application should be smart enough if it is designed to run multiple copies to do its own port selection and remapping. This can be accomplished through configuration files or on-the-fly configuration changes. James McKenzie