Skip to main content
Announcements
Defect acknowledgement with Nprinting Engine May 2022 SR2, please READ HERE
cancel
Showing results for 
Search instead for 
Did you mean: 
psankepalli
Partner - Creator III
Partner - Creator III

NPrinting Port Numbers

Hello Everyone,

I am curious to know that whether NPrinting works on different posrt numbers other than 9000, 9001 ot not?

For Example, 4748, 5767, 6431.. etc.

If it works on other Port Numbers how to change ODS file. Please advise

Thanks

Kesav

1 Solution

Accepted Solutions
Daniel_Jenkins
Specialist III
Specialist III

Yes, as explained clearly in the document I linked to above:

Extract:

In some installations you must reserve TCP ports listening for On-Demand service process.

Open a command prompt as administrator:

If SSL is disabled type:
netsh http add urlacl url=http://+:9000/ user=DOMAIN\user
netsh http add urlacl url=http://+:9001/ user=DOMAIN\user
(replace 9000 and 9001 with your TCP ports and DOMAIN\user with user you use to launch NPrinting service)

If SSL is enabled type:
netsh http add urlacl url=https://+:9000/ user=DOMAIN\user
netsh http add urlacl url=https://+:9001/ user=DOMAIN\user
(replace 9000 and 9001 with your TCP ports and DOMAIN\user with user you use to launch NPrinting service)

If a port is reserved by other process and you are sure you can use it in On-Demand remove the reservation before enabling it typing
netsh http delete urlacl url=http://+:9000/
(replace 9000 with target TCP port and http with https if SSL is enabled)

See here for further details:
http://msdn.microsoft.com/en-us/library/ms733768(v=vs.110).aspx

View solution in original post

6 Replies
Daniel_Jenkins
Specialist III
Specialist III

Hi Kesav,

This article describes how you can configure QlikView NPrinting On-Demand service endpoints: NPrinting On-Demand: Architecture and Configuration

HTH - Daniel.

Anonymous
Not applicable

As per following threads, 9000 and 9001 are left open for use with NPrinting On Demand Exclusively:

nPrinting on-demand reverse proxy server

How to Use NPrinting On Demand Extensions in QlikView Documents

psankepalli
Partner - Creator III
Partner - Creator III
Author

Thanks for your reply. sorry for the late update.

I did research and finally found the solution for this.

Yes we can use any port for NPrinintg. ideally you can use 9000 or 9001. but this is not mean NPrinting only works on these two ports.

NPrining works on any other port numbers.

in my project we are using ports 8**3, 9**3 for NPrinting purpose.

Thanks

Prasanna

Daniel_Jenkins
Specialist III
Specialist III

Yes, as explained clearly in the document I linked to above:

Extract:

In some installations you must reserve TCP ports listening for On-Demand service process.

Open a command prompt as administrator:

If SSL is disabled type:
netsh http add urlacl url=http://+:9000/ user=DOMAIN\user
netsh http add urlacl url=http://+:9001/ user=DOMAIN\user
(replace 9000 and 9001 with your TCP ports and DOMAIN\user with user you use to launch NPrinting service)

If SSL is enabled type:
netsh http add urlacl url=https://+:9000/ user=DOMAIN\user
netsh http add urlacl url=https://+:9001/ user=DOMAIN\user
(replace 9000 and 9001 with your TCP ports and DOMAIN\user with user you use to launch NPrinting service)

If a port is reserved by other process and you are sure you can use it in On-Demand remove the reservation before enabling it typing
netsh http delete urlacl url=http://+:9000/
(replace 9000 with target TCP port and http with https if SSL is enabled)

See here for further details:
http://msdn.microsoft.com/en-us/library/ms733768(v=vs.110).aspx

prabhu0505
Specialist
Specialist

Hi Dan -

Pls help with below questions.

Which port is used by NPrinting 16  Designer to talk to NPrinting 16 Server?

Does NPrinting Servers needs any ports to be opened for distribution?

Daniel_Jenkins
Specialist III
Specialist III

Hi Saravana,

NPrinting 16 Designer does not talk to NPrinting 16 Server. Designer is used to create NPrinting project files (NSQs) which contain different entities (Connections, Recipients, Filters, Reports, Tasks....etc. etc.). NSQ's are files, once created NPrinting 16 Server can run the tasks etc. in them without NPrinting 16 Designer involvement at all so there is no communication between the two. Server simply needs access to the NSQ and supporting files like the Report Templates used.

For distribution by e-mail, NPrinting server needs to be able to connect to your SMTP server on the port it is listening on. This is normally port 25 but can be different. For example smtp.gmail.com listens on port 587. To distribute to specific folders the service account running the NPrinting service needs the appropriate rights on those folders.

On-demand is covered in the previous post above.

HTH - Daniel.