Limiting the Remote Access to the Web Application
Optionally, you can limit the IP addresses and host names that are allowed to remotely
access the web application. The default is to allow all the IP addresses and host
names in a network to access the web application.
- On your local drive, go to
C:\RicohAutoColorAdjuster\Tomcat\conf
- In the server.xml file, add the following
<Valve>
entry inside the<Engine>
entry:... <Engine name="Catalina" defaultHost="localhost"> ... <Valve className="org.apache.catalina.valves.RemoteHostValve" allow="10\.1\.1\.1|10\.1\.1\.23|10\.1\.1\.44| my-computer\.my-domain\.com"/> ... </Engine>
- Note:
- Configure the
allow
string as follows:- Type the host that you allow to remotely access the web application. The host can be either an IP address or a host name. Use a backslash before each dot. For example, if your allowed IP address is 10.1.1.1, type 10\.1\.1\.1.
- If you allow multiple hosts to access the web application, separate them by a pipe symbol. For example, if your allowed hosts are 10.1.1.1, 10.1.1.23, 10.1.1.44, my-computer.my-domain.com, type 10\.1\.1\.1 | 10\.1\.1\.23 | 10\.1\.1\.44 |my-computer\.my-domain\.com. Replace my-computer and my-domain.com with the name of the computer and respectively domain name given to your network.
- Configure the
- Save the server.xml file.
- For the changes to take effect, restart the RICOH Auto Color Adjuster Web Server.
- In the Windows search box on the taskbar, type services, then select Services from the menu.
You should see the RICOH Auto Color Adjuster Web Server listed in the Services dialog.
- Right-click the RICOH Auto Color Adjuster Web Server and select Stop.
- Right-click the RICOH Auto Color Adjuster Web Server and select Start.
- In the Windows search box on the taskbar, type services, then select Services from the menu.