# Firewall Ports

**URL:** <https://forum.inductiveautomation.com/t/firewall-ports/4929>\
**Category:** General Discussion\
**Created:** [August 4, 2012, 1:12am UTC](https://forum.inductiveautomation.com/t/firewall-ports/4929 "2012-08-04T01:12:08Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ikeprof](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ikeprof/32/84814_2.png) [@Ikeprof](https://forum.inductiveautomation.com/u/Ikeprof)\
**Post date:** [August 4, 2012, 1:12am UTC](https://forum.inductiveautomation.com/t/firewall-ports/4929/1 "2012-08-04T01:12:08Z")

</div>

Have set up a server and have been demoing various aspects of Ignition to the team.

One of the features I have touted is portability across platforms/mobile devices etc.

We have pretty strict firewall rules set up. As of this moment I have 8088, 8043, 45900 set up to pass through to the Ignition server.

When I try to open a project on my Motorola Droid4, I get java.io.EOF Exception on the phone display. I’m automatically suspecting I am missing a port on the firewall, but could be totally off track.

I did update the callback interface to the correct value.

Any help would be appreciated.

Thanks,

Ike

---

<div class="post-metadata">

**Author:** ![Travis.Cox](https://avatars.discourse-cdn.com/v4/letter/t/b9bd4f/32.png) [@Travis.Cox](https://forum.inductiveautomation.com/u/Travis.Cox)\
**Post date:** [August 6, 2012, 1:48pm UTC](https://forum.inductiveautomation.com/t/firewall-ports/4929/2 "2012-08-06T13:48:43Z")

</div>

That error is not due to a firewall issue. What OS do you have?

---

<div class="post-metadata">

**Author:** ![Ikeprof](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ikeprof/32/84814_2.png) [@Ikeprof](https://forum.inductiveautomation.com/u/Ikeprof)\
**Post date:** [August 6, 2012, 4:26pm UTC](https://forum.inductiveautomation.com/t/firewall-ports/4929/3 "2012-08-06T16:26:25Z")

</div>

For right now, the test machine we pulled off the shelf is a Windows XP x64 machine. Not sure what the boss will want to run a production version on.

Thanks,

Ike

---

<div class="post-metadata">

**Author:** ![greg.simpson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/greg.simpson/32/3135_2.png) [@greg.simpson](https://forum.inductiveautomation.com/u/greg.simpson)\
**Post date:** [August 6, 2012, 4:43pm UTC](https://forum.inductiveautomation.com/t/firewall-ports/4929/4 "2012-08-06T16:43:07Z")

</div>

What version of Ignition and Java are you currently using?

---

<div class="post-metadata">

**Author:** ![Ikeprof](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ikeprof/32/84814_2.png) [@Ikeprof](https://forum.inductiveautomation.com/u/Ikeprof)\
**Post date:** [August 6, 2012, 6:49pm UTC](https://forum.inductiveautomation.com/t/firewall-ports/4929/5 "2012-08-06T18:49:32Z")

</div>

Ignition 7.5.1(b1122) 64 bit.  
Java 7 Update 5

Excerpt from the log file -

INFO | jvm 1 | 2012/08/06 14:31:21 | INFO [ClientVM] [14:31:21,500]: Client vm 9c5e4dd8-8fa6-503f-5b81-c03aee919627 closed: VM manager shutdown  
INFO | jvm 1 | 2012/08/06 14:31:21 | INFO [VMManager] [14:31:21,500]: Starting Mobile VM Manager. JavaPath=“java”, Interface=“50.77.242.50”, Port=“45900”  
INFO | jvm 1 | 2012/08/06 14:31:35 | INFO [VMManager] [14:31:35,734]: Shutting down.  
INFO | jvm 1 | 2012/08/06 14:31:35 | INFO [VMManager] [14:31:35,734]: Starting Mobile VM Manager. JavaPath=“java”, Interface=“50.77.242.50”, Port=“45900”  
INFO | jvm 1 | 2012/08/06 14:31:43 | INFO [VMManager] [14:31:43,546]: VMCreator starting 1 new client VMs.  
INFO | jvm 1 | 2012/08/06 14:31:45 | INFO [VMManager] [14:31:45,046]: VMCreator starting 1 new client VMs.  
INFO | jvm 1 | 2012/08/06 14:31:46 | INFO [ClientVM] [14:31:46,671]: Client vm 1a0b117c-badc-4ea0-5afb-2e3bae79b926 closed: IOException during rectangle message: java.net.SocketException: Connection reset  
INFO | jvm 1 | 2012/08/06 14:31:46 | WARN [RectsB64] [14:31:46,671]: Failure in mobiledata/rects  
INFO | jvm 1 | 2012/08/06 14:31:46 | java.net.SocketException: Connection reset  
INFO | jvm 1 | 2012/08/06 14:31:46 | at java.net.SocketInputStream.read(Unknown Source)  
INFO | jvm 1 | 2012/08/06 14:31:46 | at java.net.SocketInputStream.read(Unknown Source)  
INFO | jvm 1 | 2012/08/06 14:31:46 | at java.io.BufferedInputStream.fill(Unknown Source)  
INFO | jvm 1 | 2012/08/06 14:31:46 | at java.io.BufferedInputStream.read(Unknown Source)  
INFO | jvm 1 | 2012/08/06 14:31:46 | at java.io.DataInputStream.readShort(Unknown Source)  
INFO | jvm 1 | 2012/08/06 14:31:46 | at com.inductiveautomation.mobile.gateway.MobileVMManager$ClientVMImpl.getDirtyRectangles(MobileVMManager.java:447)  
INFO | jvm 1 | 2012/08/06 14:31:46 | at com.inductiveautomation.mobile.gateway.servlets.MobileSession.getDirtyRectangles(MobileSession.java:224)  
INFO | jvm 1 | 2012/08/06 14:31:46 | at com.inductiveautomation.mobile.gateway.servlets.MobileDataServlet$RectsBase64.handle(MobileDataServlet.java:253)  
INFO | jvm 1 | 2012/08/06 14:31:46 | at com.inductiveautomation.mobile.gateway.servlets.MobileDataServlet.doRequest(MobileDataServlet.java:144)  
INFO | jvm 1 | 2012/08/06 14:31:46 | at com.inductiveautomation.mobile.gateway.servlets.MobileDataServlet.doGet(MobileDataServlet.java:94)  
INFO | jvm 1 | 2012/08/06 14:31:46 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)  
INFO | jvm 1 | 2012/08/06 14:31:46 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)  
INFO | jvm 1 | 2012/08/06 14:31:46 | at com.inductiveautomation.ignition.gateway.bootstrap.MapServlet.service(MapServlet.java:85)  
INFO | jvm 1 | 2012/08/06 14:31:46 | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)  
INFO | jvm 1 | 2012/08/06 14:31:46 | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)  
INFO | jvm 1 | 2012/08/06 14:31:46 | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)  
INFO | jvm 1 | 2012/08/06 14:31:46 | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)  
INFO | jvm 1 | 2012/08/06 14:31:46 | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)  
INFO | jvm 1 | 2012/08/06 14:31:46 | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)  
INFO | jvm 1 | 2012/08/06 14:31:46 | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)  
INFO | jvm 1 | 2012/08/06 14:31:46 | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)  
INFO | jvm 1 | 2012/08/06 14:31:46 | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)  
INFO | jvm 1 | 2012/08/06 14:31:46 | at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)  
INFO | jvm 1 | 2012/08/06 14:31:46 | at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)  
INFO | jvm 1 | 2012/08/06 14:31:46 | at java.lang.Thread.run(Unknown Source)

---

<div class="post-metadata">

**Author:** ![James.Lorenz](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/james.lorenz/32/3290_2.png) [@James.Lorenz](https://forum.inductiveautomation.com/u/James.Lorenz)\
**Post date:** [August 6, 2012, 9:08pm UTC](https://forum.inductiveautomation.com/t/firewall-ports/4929/6 "2012-08-06T21:08:48Z")

</div>

Unfortunately, the mobile module doesn’t work with Java 7 currently. You will need to have Java 6 installed (you can have Java 6 installed concurrently with Java 7), and on the Mobile Settings page on the gateway, you will have to put the path to the Java 6 version of the java.exe file, which is usually something like:

```auto
C:\Program Files\Java\jre6\jre\bin
```

---

<div class="post-metadata">

**Author:** ![Ikeprof](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ikeprof/32/84814_2.png) [@Ikeprof](https://forum.inductiveautomation.com/u/Ikeprof)\
**Post date:** [August 7, 2012, 12:39am UTC](https://forum.inductiveautomation.com/t/firewall-ports/4929/7 "2012-08-07T00:39:58Z")

</div>

Removed Java 7 from that machine. It is only an in-house test/evaluation machine at this point anyhow.

Changed a line in the config to point everything to version 6, reinstalled 6 just to be sure the system knew where it was, found a couple of problems in the environment settings on the machine and corrected them to reflect 6 JRE.

Server is up and running just fine except for mobile clients still.

The error message I know get is “java.io.IOException: Cannot run program “C:\Program Files\Java\jre6\bin” (in directory “data\mobile\_wdir”): CreateProcess error=5, Access is denied  
Caused by: java.io.IOException: CreateProcess error=5, Access is denied”

That path is correct for where the JRE is installed.

Sorry to be a pain and appreciate the help. Have a demo in the morning, but if I can’t get the mobile version working, will just try to focus the teams attention on the regular client.

Thanks,

Ike

---

<div class="post-metadata">

**Author:** ![James.Lorenz](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/james.lorenz/32/3290_2.png) [@James.Lorenz](https://forum.inductiveautomation.com/u/James.Lorenz)\
**Post date:** [August 7, 2012, 3:28pm UTC](https://forum.inductiveautomation.com/t/firewall-ports/4929/8 "2012-08-07T15:28:44Z")

</div>

Oops, sorry, I didn’t put the full path there…the Java Path setting in the mobile settings needs the full path, not just the folder. So it would be:

```auto
C:\Program Files\Java\jre6\bin\java.exe
```

---

<div class="post-metadata">

**Author:** ![Ikeprof](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ikeprof/32/84814_2.png) [@Ikeprof](https://forum.inductiveautomation.com/u/Ikeprof)\
**Post date:** [August 7, 2012, 3:46pm UTC](https://forum.inductiveautomation.com/t/firewall-ports/4929/9 "2012-08-07T15:46:37Z")

</div>

That got it. Thank you.

The demo this morning went well regardless. I just showed them mobile operation on your site demo to show how it works.
