Copiers & Devices Connecting to the Wrong IP Address

KB Home   |   Copiers & Devices Connecting to the Wrong IP Address

Main.ConnectingToTheWrongIPAddress History

Hide minor edits - Show changes to output

August 19, 2016, at 01:13 AM by josh - Changed a config key that previously existed (doesn't anymore, the name changed)
Changed line 33 from:
Modifying the [@[app-path]\server\server.properties@] by adding the [@server.network-interface@] configuration option will force PaperCut to only listen on that IP address (if available).
to:
Modifying the [@[app-path]\server\server.properties@] by adding the [@server.listen-interface@] configuration option will force PaperCut to only listen on that IP address (if available).
August 18, 2016, at 06:57 PM by 207.173.83.180 - fixed path
Changed line 49 from:
In the [@C:\Windows\System32\etc\drivers\hosts@] file there was this entry:
to:
In the [@C:\Windows\System32\drivers\etc\hosts@] file there was this entry:
July 07, 2016, at 10:11 PM by Brian L - server.listen-address no longer exists, moved to server.network-address
Changed line 33 from:
Modifying the [@[app-path]\server\server.properties@] by adding the [@server.listen-interface@] configuration option will force PaperCut to only listen on that IP address (if available).
to:
Modifying the [@[app-path]\server\server.properties@] by adding the [@server.network-interface@] configuration option will force PaperCut to only listen on that IP address (if available).
Changed lines 21-22 from:
PaperCut can be configured to manually define this IP address (or FQDN) in the PaperCut Admin Console -> Options -> Advanced -> Server address presented to users
to:
PaperCut can be configured to manually define this IP address (or FQDN) in the @@PaperCut Admin Console@@ -> @@Options@@ -> @@Advanced@@ -> @@Server address presented to users@@
Changed lines 11-12 from:
In the above example PaperCut is listening on all of those IP addresses (IPv4 and IPv6) but will use 10.100.65.1 when telling a copier/device which IP address to use to talk back to PaperCut.
to:
In the above example PaperCut is listening on all of those IP addresses (`IPv4 and `IPv6) but will use 10.100.65.1 when telling a copier/device which IP address to use to talk back to PaperCut.
Changed lines 47-48 from:
@@# System details: max memory: 910.5 MB, processors: 4, free space: 116,681.5 MB, uptime: 0.13 minutes, hostname: papercut, IP addresses: [10.128.140.21, fe80:0:0:0:c90f:8335:a6ba:edd9%14] (Primary: 10.128.140.1), runtime: 1.7.0_60-b19, time-zone: Australia/Sydney, calendar: GregorianCalendar, locale: en_AU, encoding: windows-1252@@
to:
@@# System details: max memory: 910.5 MB, processors: 4, free space: 116,681.5 MB, uptime: 0.13 minutes, hostname: papercut, IP addresses: [10.128.140.21, fe80:0:0:0:c90f:8335:a6ba:edd9%14] (Primary: 10.128.140.1), runtime: 1.7.0_60-b19, time-zone: Australia/Sydney, calendar: `GregorianCalendar, locale: en_AU, encoding: windows-1252@@
March 05, 2015, at 05:49 AM by Jason - first cut
Changed lines 35-36 from:
More here: [[https://www.papercut.com/products/ng/manual/ch-server-interface.html|Chapter 33. Advanced Server Management]]
to:
More here: [[https://www.papercut.com/products/ng/manual/ch-server-interface.html|Chapter 33: Changing the network interface that PaperCut listens on]]
Changed lines 39-44 from:
# System details: max memory: 910.5 MB, processors: 4, free space: 116,681.5 MB, uptime: 0.13 minutes, hostname: papercut, IP addresses: [10.128.140.21, fe80:0:0:0:c90f:8335:a6ba:edd9%14] (Primary: 10.128.140.1), runtime: 1.7.0_60-b19, time-zone: Australia/Sydney, calendar: GregorianCalendar, locale: en_AU, encoding: windows-1252



TODO link your page here: https
://www.papercut.com/kb/Main/Miscellaneous
to:
At this point you may want to contact [[https://www.papercut.com/contact/|PaperCut Technical Support]] or your PaperCut reseller for further assistance.

But first, check your hosts file for an edge case situation.

If in your [@[app
-path]\server\logs\server.log@] you see that the [@Primary: 10.128.140.1@] is not in the list of IP addresses, check that your [@hosts@] file doesn't have an entry that overrides our detection processes.

As an example:

@@# System details: max memory: 910.5 MB, processors: 4, free space: 116,681.5 MB, uptime: 0.13 minutes, hostname: papercut, IP addresses: [10.128.140.21, fe80:0:0:0:c90f:8335:a6ba:edd9%14] (Primary: 10.128.140.1), runtime: 1.7.0_60-b19, time-zone: Australia
/Sydney, calendar: GregorianCalendar, locale: en_AU, encoding: windows-1252@@

In the [@C:\Windows\System32\etc\drivers\hosts@] file there was this entry:

[@10.128.140.1    papercut@]

This was a hold-over from a DNS issue that the customer had previously. Commenting out this line allowed PaperCut to work again.

Changed line 56 from:
''Categories:'' [[Category.TODOFirstCategory|+]], [[Category.TODOSecondCategoryIfNeeded|+]]
to:
''Categories:'' [[Category.Troubleshooting|+]],
Changed line 58 from:
[-Keywords: TODO keywords here if needed-]
to:
[-Keywords: -]
March 05, 2015, at 05:41 AM by Jason - first cut
Changed lines 19-24 from:
!! Option 2 - Manual override in PaperCut

Using the PaperCut config edir


to:
!! Option 2 - Using the "Server address presented to users" option

PaperCut can be configured to manually define this IP address (or FQDN) in the PaperCut Admin Console -> Options -> Advanced -> Server address presented to users

More here: [[https://www.papercut.com/products/ng/manual/ch-server.html|Chapter 33. Advanced Server Management]]

!! Option 3 - Manual override in PaperCut

Customers using older versions of PaperCut may need to use the PaperCut [[https://www.papercut.com/products/ng/manual/sys-mgmt-config-editor.html|Config Editor]] you to modify the following config key: system.network-address

More here: [[https://www.papercut.com/products/ng/manual/ch-server.html#server-address-other|Chapter 33. Advanced Server Management]]

!! Option 4 - Force PaperCut to listen only on one IP

Modifying the [@[app-path]\server\server.properties@] by adding the [@server.listen-interface@] configuration option will force PaperCut to only listen on that IP address (if available).

More here: [[https://www.papercut.com/products/ng/manual/ch-server-interface.html|Chapter 33. Advanced Server Management]]

!! I tried all of that and it didn't work!

March 05, 2015, at 05:34 AM by Jason - first cut
Added lines 1-34:
(:title Copiers & Devices Connecting to the Wrong IP Address:)

As part of communicating with external systems such as photocopiers and similar hardware, PaperCut will sometimes be required to tell the external system what IP address it needs to use when initiating communication with PaperCut.

This is done by obtaining the list of IP addresses on the machine and determining which one is most relevant to use. This is known as the Primary IP address.

It looks like this in your [@[app-path]\server\logs\server.log@]

@@# System details: max memory: 910.5 MB, processors: 4, free space: 116,681.5 MB, uptime: 0.13 minutes, hostname: papercut, IP addresses: [10.100.65.1, 192.168.110.1, 192.168.163.1, 192.168.56.1, fe80:0:0:0:8890:2ac3:4481:d434%11, fe80:0:0:0:7d6d:75fd:fb11:8b90%15, fe80:0:0:0:59aa:fe2c:ff88:f6e5%16, fe80:0:0:0:fd8a:3a29:d046:e754%21] (Primary: 10.100.65.1), runtime: 1.7.0_60-b19, time-zone: Australia/Sydney, calendar: `GregorianCalendar, locale: en_AU, encoding: windows-1252@@

In the above example PaperCut is listening on all of those IP addresses (IPv4 and IPv6) but will use 10.100.65.1 when telling a copier/device which IP address to use to talk back to PaperCut.

!! Option 1 - Windows - Adapter Order

On Windows this is determined by the order for the Adapters and Bindings.

%center%Attach:Adapters-and-bindings.jpg%center%

!! Option 2 - Manual override in PaperCut

Using the PaperCut config edir



# System details: max memory: 910.5 MB, processors: 4, free space: 116,681.5 MB, uptime: 0.13 minutes, hostname: papercut, IP addresses: [10.128.140.21, fe80:0:0:0:c90f:8335:a6ba:edd9%14] (Primary: 10.128.140.1), runtime: 1.7.0_60-b19, time-zone: Australia/Sydney, calendar: GregorianCalendar, locale: en_AU, encoding: windows-1252



TODO link your page here: https://www.papercut.com/kb/Main/Miscellaneous

----
''Categories:'' [[Category.TODOFirstCategory|+]], [[Category.TODOSecondCategoryIfNeeded|+]]
----
[-Keywords: TODO keywords here if needed-]

Comments

Share your findings and experience with other PaperCut users. Feel free to add comments and suggestions about this Knowledge Base article. Please don't use this for support requests.

Article last modified on August 19, 2016, at 01:13 AM
Printable View   |   Article History   |   Edit Article