Challenge:
A server is setup with multiple NICs (network interface card) and by default EveryonePrint services are bound to all interfaces.
The aim is to configure EveryonePrint so that it is only using one of the NIC.
- NIC 1: 192.168.1.11
- NIC 2: 192.168.1.21 => select this one
How to:
- Stop the EveryonePrint Web service
- Make a backup copy of <Program Files(x86)>\EveryonePrint\eop.xml
- Edit <Program Files(x86)>\EveryonePrint\eop.xml in an editor such as Notepad
- Change the <eopapiendpoint> tag with the specific IP address of the card to use like, and save the change:
<eopapiendpoint>http://192.168.1.21:7290/api/</eopapiendpoint>
- Make a backup copy of <Program Files(x86)>\EveryonePrint\etc\jetty.xml
- Edit <Program Files(x86)>\EveryonePrint\etc\jetty.xml and change 'Host' configuration from:
<Call name="addConnector"> <Arg> <New class="org.mortbay.jetty.nio.SelectChannelConnector"> <Set name="host"><SystemProperty name="jetty.host" /></Set> <Set name="port"><SystemProperty name="jetty.port" default="7290"/></Set>
to
<Call name="addConnector"> <Arg> <New class="org.mortbay.jetty.nio.SelectChannelConnector"> <Set name="host"><SystemProperty name="jetty.host" default="192.168.1.21"/></Set> <Set name="port"><SystemProperty name="jetty.port" default="7290"/></Set>
and save the change.
- Restart EveryonePrint Web service
Test new setup:
Now you can access EveryonePrint interfaces on this specific NIC IP address only:
- Admin Interface:
http://127.0.0.1:7290/admin/login.cfm => Fails
http://192.168.1.11:7290/admin/login.cfm => Fails
http://192.168.1.21:7290/admin/login.cfm => OK
- Web Portal:
http://127.0.0.1:7290/login.cfm => Fails
http://192.168.1.11:7290/login.cfm => Fails
http://192.168.1.21:7290/login.cfm => OK
Comments
0 comments
Please sign in to leave a comment.