# Problems connecting to S7 device (Possibly M2 Mac related)

**URL:** <https://forum.inductiveautomation.com/t/problems-connecting-to-s7-device-possibly-m2-mac-related/107174>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [June 9, 2025, 11:28am UTC](https://forum.inductiveautomation.com/t/problems-connecting-to-s7-device-possibly-m2-mac-related/107174 "2025-06-09T11:28:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![christofer.dutz](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/christofer.dutz/32/76634_2.png) [@christofer.dutz](https://forum.inductiveautomation.com/u/christofer.dutz)\
**Post date:** [June 9, 2025, 11:28am UTC](https://forum.inductiveautomation.com/t/problems-connecting-to-s7-device-possibly-m2-mac-related/107174/1 "2025-06-09T11:28:20Z")

</div>

I am currently trying to get the S7 connection working, however no matter what I try, I keep on getting error messages such as this in my log:

```python
INFO | jvm 1 | 2025/06/09 13:20:54 | D [d.S71200Driver] [13:20:54.363]: Acquired connect permit, calling connect(). device-name=S7
INFO | jvm 1 | 2025/06/09 13:20:57 | D [d.S71200Driver] [13:20:56.900]: [S7] Opening TCP connection... device-name=S7
INFO | jvm 1 | 2025/06/09 13:20:57 | D [d.S71200Driver] [13:20:56.900]: Disconnected -> Connecting device-name=S7
INFO | jvm 1 | 2025/06/09 13:20:57 | D [d.S71200Driver] [13:20:56.902]: Error connecting to "192.168.23.30". device-name=S7
INFO | jvm 1 | 2025/06/09 13:20:57 | java.net.NoRouteToHostException: No route to host
INFO | jvm 1 | 2025/06/09 13:20:57 | at java.base/sun.nio.ch.Net.connect0(Native Method)
INFO | jvm 1 | 2025/06/09 13:20:57 | at java.base/sun.nio.ch.Net.connect(Unknown Source)
INFO | jvm 1 | 2025/06/09 13:20:57 | at java.base/sun.nio.ch.Net.connect(Unknown Source)
INFO | jvm 1 | 2025/06/09 13:20:57 | at java.base/sun.nio.ch.NioSocketImpl.connect(Unknown Source)
INFO | jvm 1 | 2025/06/09 13:20:57 | at java.base/java.net.SocksSocketImpl.connect(Unknown Source)
INFO | jvm 1 | 2025/06/09 13:20:57 | at java.base/java.net.Socket.connect(Unknown Source)
INFO | jvm 1 | 2025/06/09 13:20:57 | at java.base/java.net.Socket.connect(Unknown Source)
INFO | jvm 1 | 2025/06/09 13:20:57 | at com.inductiveautomation.xopc.driver.api.AbstractSocketDriver.connect(AbstractSocketDriver.java:123)
INFO | jvm 1 | 2025/06/09 13:20:57 | at com.inductiveautomation.xopc.driver.api.AbstractDriver$3.run(AbstractDriver.java:632)
INFO | jvm 1 | 2025/06/09 13:20:57 | at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
INFO | jvm 1 | 2025/06/09 13:20:57 | at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
INFO | jvm 1 | 2025/06/09 13:20:57 | at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
INFO | jvm 1 | 2025/06/09 13:20:57 | at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
INFO | jvm 1 | 2025/06/09 13:20:57 | at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
INFO | jvm 1 | 2025/06/09 13:20:57 | at java.base/java.lang.Thread.run(Unknown Source)
INFO | jvm 1 | 2025/06/09 13:20:57 | D [d.S71200Driver] [13:20:56.903]: Releasing connect permit. device-name=S7
INFO | jvm 1 | 2025/06/09 13:20:57 | D [d.S71200Driver] [13:20:56.903]: Connecting -> Disconnected device-name=S7
INFO | jvm 1 | 2025/06/09 13:20:57 | D [d.S.RequestSchedule] [13:20:56.903]: Canceling 0 ScheduledRequests. device-name=S7
INFO | jvm 1 | 2025/06/09 13:20:57 | D [d.S.BasicRequestCycle] [13:20:56.904]: Shutting down... device-name=S7
INFO | jvm 1 | 2025/06/09 13:20:57 | D [d.S.BasicRequestCycle] [13:20:56.904]: Shutdown complete. device-name=S7

```

I should mention that I'm using it on an M2 Mac with the latest OS updates all installed.

---

<div class="post-metadata">

**Author:** ![christofer.dutz](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/christofer.dutz/32/76634_2.png) [@christofer.dutz](https://forum.inductiveautomation.com/u/christofer.dutz)\
**Post date:** [June 9, 2025, 11:29am UTC](https://forum.inductiveautomation.com/t/problems-connecting-to-s7-device-possibly-m2-mac-related/107174/2 "2025-06-09T11:29:31Z")

</div>

I have provided both the remote and the local ip addresses in the settings and I can ping the device from the console and connect to the S7 PLC using PLC4X on the same device.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [June 9, 2025, 12:04pm UTC](https://forum.inductiveautomation.com/t/problems-connecting-to-s7-device-possibly-m2-mac-related/107174/3 "2025-06-09T12:04:29Z")

</div>

> [@Disconnected status with Modbus TCP + Arduino MEGA + Ethernet Shield W5100 through Ignition](https://forum.inductiveautomation.com/t/disconnected-status-with-modbus-tcp-arduino-mega-ethernet-shield-w5100-through-ignition/100185/12):
>
> This is confirmed to be a new issue in Sequoia. In order to work around this there are a few options: If using the binary installer don't install the gateway as a service If installing as a service is required, comment out the ignition.sh line for RUN\_AS\_USER=. This will install the service as the root user which does not require giving access to the Local Network permission. The zip installer defaults to installing the service as root This issue looks to only affect launchd services which …
