# Accessing device on port 80 if not connected to the internet

**URL:** <https://forums.balena.io/t/accessing-device-on-port-80-if-not-connected-to-the-internet/192448>\
**Category:** Product support\
**Created:** [September 23, 2020, 10:09am UTC](https://forums.balena.io/t/accessing-device-on-port-80-if-not-connected-to-the-internet/192448 "2020-09-23T10:09:49Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![query](https://avatars.discourse-cdn.com/v4/letter/q/3ab097/32.png) [@query](https://forums.balena.io/u/query)\
**Post date:** [September 23, 2020, 10:09am UTC](https://forums.balena.io/t/accessing-device-on-port-80-if-not-connected-to-the-internet/192448/1 "2020-09-23T10:09:49Z")

</div>

My device has eth0 and eth1, eth1 has a fixed IP address configured on the image file.

I want to use eth1 to directly connect to the device on port 80 (web interface running in the container) to be able to set some persistent configurations. Using a crossover ethernet cable, I would like to connect my computer to the device directly, and access that ip:80. Is this possible?

Thanks

---

<div class="post-metadata">

**Author:** ![kaisoz](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/kaisoz/32/3570_2.png) [@kaisoz](https://forums.balena.io/u/kaisoz)\
**Post date:** [September 23, 2020, 10:12am UTC](https://forums.balena.io/t/accessing-device-on-port-80-if-not-connected-to-the-internet/192448/4 "2020-09-23T10:12:32Z")

</div>

Hi Juan!

Is the web interface already set up? Just to understand it properly, you have a device with an application that exposes a web interface on port 80, and you want to access such interface with a direct point to point eth connection from your computer. Am I right?

---

<div class="post-metadata">

**Author:** ![query](https://avatars.discourse-cdn.com/v4/letter/q/3ab097/32.png) [@query](https://forums.balena.io/u/query)\
**Post date:** [September 23, 2020, 10:19am UTC](https://forums.balena.io/t/accessing-device-on-port-80-if-not-connected-to-the-internet/192448/6 "2020-09-23T10:19:43Z")

</div>

Hey there, exactly that! Thanks

---

<div class="post-metadata">

**Author:** ![kaisoz](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/kaisoz/32/3570_2.png) [@kaisoz](https://forums.balena.io/u/kaisoz)\
**Post date:** [September 23, 2020, 10:25am UTC](https://forums.balena.io/t/accessing-device-on-port-80-if-not-connected-to-the-internet/192448/7 "2020-09-23T10:25:41Z")

</div>

So as long as your computer in in the same subnet as the device, it should be visible. If, for example, the device’s IP is 192.168.1.1 and the subnet mask is 255.255.255.0, setting 192.168.1.2 to your computer should suffice

---

<div class="post-metadata">

**Author:** ![query](https://avatars.discourse-cdn.com/v4/letter/q/3ab097/32.png) [@query](https://forums.balena.io/u/query)\
**Post date:** [September 23, 2020, 10:38am UTC](https://forums.balena.io/t/accessing-device-on-port-80-if-not-connected-to-the-internet/192448/8 "2020-09-23T10:38:47Z")

</div>

Perfect, thanks, I will give it a try!
