Accessing network ports on wine applications

Questions about Wine on Linux
Locked
rtx
Newbie
Newbie
Posts: 3
Joined: Fri Sep 04, 2020 12:26 am

Accessing network ports on wine applications

Post by rtx »

Hi,
I am running windows UPS software on Linux Mint via wine. The software creates a service that is accessed via port 3052
If I try to go to this using my Firefox browser
http://127.0.0.1:3052/local/
I get the following:

Code: Select all

HTTP Status 404 – Not Found

Type Status Report

Message /local/login

Description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
Apache Tomcat/8.5.34

How can I allow port 3052 to pass through wine to my Linux Mint OS?

Thanks
User avatar
DarkShadow44
Level 8
Level 8
Posts: 1207
Joined: Tue Nov 22, 2016 5:39 pm

Re: Accessing network ports on wine applications

Post by DarkShadow44 »

When firefox can load the site, but it shows an error, then you can already access port 3052, no?
rtx
Newbie
Newbie
Posts: 3
Joined: Fri Sep 04, 2020 12:26 am

Re: Accessing network ports on wine applications

Post by rtx »

yes you are right - if i go to port 3051 or 3053, i get a different message: Unable to connect.
so is it likely to be just a general wine incompatibility?
User avatar
DarkShadow44
Level 8
Level 8
Posts: 1207
Joined: Tue Nov 22, 2016 5:39 pm

Re: Accessing network ports on wine applications

Post by DarkShadow44 »

Does the software work like that on windows? Maybe some different configuration? Is there a way for us to test?
rtx
Newbie
Newbie
Posts: 3
Joined: Fri Sep 04, 2020 12:26 am

Re: Accessing network ports on wine applications

Post by rtx »

It just goes straight through on Windows. I was just hoping there was some security restraint on the Wine <-> Linux OS communications that I might have been able to reduce to fix it.
User avatar
DarkShadow44
Level 8
Level 8
Posts: 1207
Joined: Tue Nov 22, 2016 5:39 pm

Re: Accessing network ports on wine applications

Post by DarkShadow44 »

No security constraint that I know of. But without logs or a way to test, I can't help. Please provide terminal logs from the server or the server itself for testing.
laroadrash
Newbie
Newbie
Posts: 1
Joined: Thu Feb 17, 2022 9:22 am

Re: Accessing network ports on wine applications

Post by laroadrash »

Run UFW and allow the needed ports through the firewall. I believe there's an UFW cmd to reload the firewall afterwards.
Locked