Can I run program that needs to open a port?

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
JavaRat
Newbie
Newbie
Posts: 3
Joined: Sun Aug 08, 2010 9:46 am

Can I run program that needs to open a port?

Post by JavaRat »

Hello everyone,

I have to following problem (I think...).
My program I wish to run (http://www.fujidirekt.se/fotobok/FujiDirektSE.exe) installs perfectly.
When I start the application it will try to autoupdate itself which fails due to what I suspect to be an attempt to open a connection over a port that is blocked by my Ubuntu 9.10 installtion.
The same thing happens when I try to create a new photobook (some less important functionality).
Is there some way which I can allow for wine to use this port on my Ubuntuinstalltion so the program will function?

(Please forgive me if this is a duplicate post, I have really tried to browse/googlesearch the forums and maillists to avoid it).

Thank you for your time and assistance in this matter!
With kind regards
/JavaRat
DaVince
Level 8
Level 8
Posts: 1099
Joined: Wed Oct 29, 2008 4:53 pm

Post by DaVince »

Yes, online applications work in Wine, so the problem must be somewhere else.

Before everything else, are you sure it's Wine failing and not the server being offline or anything?

If you're sure it's a Wine problem, try running from a terminal and post the output here (http://wiki.winehq.org/FAQ#get_log).
James McKenzie

Can I run program that needs to open a port?

Post by James McKenzie »

JavaRat wrote:
Hello everyone,

I have to following problem (I think...).
My program I wish to run (http://www.fujidirekt.se/fotobok/FujiDirektSE.exe) installs perfectly.
When I start the application it will try to autoupdate itself which fails due to what I suspect to be an attempt to open a connection over a port that is blocked by my Ubuntu 9.10 installtion.
If you are using Bastelle or ipfilters, then it probably is blocked.
You would have to determine the source/destination port and then open
the Linux firewall to allow access. This is described quite well in
your distros documentation and on the web in several places (Google is
your friend for this.)

James McKenzie
JavaRat
Newbie
Newbie
Posts: 3
Joined: Sun Aug 08, 2010 9:46 am

Post by JavaRat »

My friend can confirm that it works under windows XP just a moment ago.
I guess I will have to try figure out what port the program is trying to connect to as my next step?

I don't see that this could be a wine-related issue if it is Ubuntu that is "blocking" the port requests.
Sorry for posting it here however it might be useful to some user less experienced such as me as there must be people with similar problems.

/JavaRat
James McKenzie

Can I run program that needs to open a port?

Post by James McKenzie »

JavaRat wrote:
My friend can confirm that it works under windows XP just a moment ago.
I guess I will have to try figure out what port the program is trying to connect to as my next step?

I don't see that this could be a wine-related issue if it is Ubuntu that is "blocking" the port requests.
Sorry for posting it here however it might be useful to some user less experienced such as me as there must be people with similar problems.

There is a way to check if iptables/ipfilter is blocking outbound
traffic, but it is beyond the scope of this mailing list. You might
want to Google for a solution to this problem or consult your
distributions forums for one.

James McKenzie
Gert van den Berg

Can I run program that needs to open a port?

Post by Gert van den Berg »

On Sun, Aug 8, 2010 at 17:47, JavaRat <[email protected]> wrote:
My friend can confirm that it works under windows XP just a moment ago.
I guess I will have to try figure out what port the program is trying to connect to as my next step?
netstat -abn under windows

If your app is trying to listen on a low port number it might need
some playing around with permissions / be run as root to work...
JavaRat
Newbie
Newbie
Posts: 3
Joined: Sun Aug 08, 2010 9:46 am

Post by JavaRat »

Thank you everyone for your help and ideas!

When I run the program in Ubuntu 10.04 with wine version 1.2 Or 1.3
I get the following error:

Code: Select all

pc1@ubuntu:~$ wine .wine/drive_c/Program\ Files/Fujidirekt\ SE\ Fotoservice/Fujidirekt\ SE\ Fotoservice.exe
err:ole:CoUninitialize Mismatched CoUninitialize
pc1@ubuntu:~$ fixme:advapi:LookupAccountNameW L"" L"Everyone" 0x33fc20 0x33fc8c
0x1326c8 0x33fc88 0x33fc84 - stub
error : unterminated entity reference Posters
error : unterminated entity reference Posters
pc1@ubuntu:~$
:?

I think my guess was completely off and there is something else that is wrong. I am thinking of skipping this program and try some other retailer instead. Or maybe even see if I can borrow my friends computer instead.
Maybe you could put this program on the wine blacklist of programs that do not work?

/Javarat
Locked