Port number for XnView
Moderators: helmut, XnTriq, xnview
Port number for XnView
Hi! I installed XnView in my CentOS 6.4 app local server. I need to open the port that XnView uses. What number is that port?
Re: Port number for XnView
Hi.
I´m an administrator and I want to install the app on a server with CentOS 6.4 and Samba. I need the port number used by XnView in order to add it to the firewall rules file.
I´m an administrator and I want to install the app on a server with CentOS 6.4 and Samba. I need the port number used by XnView in order to add it to the firewall rules file.
Re: Port number for XnView
igamez wrote:Hi.
I´m an administrator and I want to install the app on a server with CentOS 6.4 and Samba. I need the port number used by XnView in order to add it to the firewall rules file.



XnView does NOT have a Client/Server architecture.

Its database engine (SQLite) is embedded right in the executable and is a file-based DB engine which put a write-lock on the DB file. So NO network protocol in order to require a port opening.

Hence, if you want to work with it in a LAN you must:
1. Make a share with the appropriate (Read/write etc.) rights for the users in which you'll put the DB & other files.
2. Either install on each workstation, either install it on server and allow the users to run it from \\server\program-share
3. Setup each XnViewMP installation (either one installation if you put on the server, either 'x' installations if you put on each workstations) to point at the same DB folder created at 1.
However:
1. As I said, only one user will have write access. The others will be readers. Dunno how XnView handles currently an unsuccessful write attempt to DB. It will be interesting to see...

2. Beware at settings. XnView saves the settings in the XnView.ini file - perhaps is better to have one file locally for each user? (In fact the program works in this way by default)
m. Th.
- Dark Themed XnViewMP 1.7.1 64bit on Win11 x64 -
- Dark Themed XnViewMP 1.7.1 64bit on Win11 x64 -
Re: Port number for XnView
Thank you very much for your answer.