# \[App\]\[Pro\] Micro Web Server

**URL:** <https://community.homey.app/t/app-pro-micro-web-server/26565>\
**Category:** Apps\
**Tags:** app, official, tools\
**Created:** [February 29, 2020, 4:12pm UTC](https://community.homey.app/t/app-pro-micro-web-server/26565 "2020-02-29T16:12:06Z")\
**Posts on this page:** 20\
**Page:** 7

<div class="post-metadata">

**Author:** ![SingKT](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/singkt/32/173226_2.png) [@SingKT](https://community.homey.app/u/SingKT)\
**Post date:** [February 22, 2025, 2:24pm UTC](https://community.homey.app/t/app-pro-micro-web-server/26565/122 "2025-02-22T14:24:12Z")

</div>

Tried to restart the web server?

---

<div class="post-metadata">

**Author:** ![JPe4619](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jpe4619/32/9017_2.png) [@JPe4619](https://community.homey.app/u/JPe4619)\
**Post date:** [February 22, 2025, 2:24pm UTC](https://community.homey.app/t/app-pro-micro-web-server/26565/123 "2025-02-22T14:24:58Z")

</div>

Sure, several times. Also tried on PC and tabet and mobile.

---

<div class="post-metadata">

**Author:** ![Shakesbeard](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/shakesbeard/32/15112_2.png) [@Shakesbeard](https://community.homey.app/u/Shakesbeard)\
**Post date:** [February 22, 2025, 2:30pm UTC](https://community.homey.app/t/app-pro-micro-web-server/26565/124 "2025-02-22T14:30:56Z")

</div>

That’s a bit strange. I am not aware of any changes.  
I will try looking into that. It is just that I am still down with sickness. So it might take a while still. Sorry.

---

<div class="post-metadata">

**Author:** ![JPe4619](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jpe4619/32/9017_2.png) [@JPe4619](https://community.homey.app/u/JPe4619)\
**Post date:** [February 22, 2025, 2:42pm UTC](https://community.homey.app/t/app-pro-micro-web-server/26565/125 "2025-02-22T14:42:32Z")

</div>

No hurry, take your time to recover, thanks for reacting.

---

<div class="post-metadata">

**Author:** ![JPe4619](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jpe4619/32/9017_2.png) [@JPe4619](https://community.homey.app/u/JPe4619)\
**Post date:** [February 22, 2025, 4:01pm UTC](https://community.homey.app/t/app-pro-micro-web-server/26565/126 "2025-02-22T16:01:15Z")

</div>

Hi @Peter_Kawa , can you please try if FTP still works to find out if it’s my local problem or a system/app problem? Thanks in advance.

When I open the App settings, HTTP and FTP Servers are both running, is this standard?

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [February 23, 2025, 1:45am UTC](https://community.homey.app/t/app-pro-micro-web-server/26565/127 "2025-02-23T01:45:52Z")

</div>

Yes, still works fine on my Pro 19’s, Jan.  
I use the ‘normal’ ipv4 IP address, like `192.168.2.x:5081`, not the `homey-62xxxxxxxxxxxx:5081` address like mentioned in the app settings.

And it doesn’t work with ftp client setting “passive mode”, maybe you have it enabled?

> [@JPe4619](#):
>
> HTTP and FTP Servers are both running, is this standard?

You can disable auto launch for the FTP service, Jan:  
Only the description above it needs a little update

 ![1000000479](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/f/afc762c835eceb9ee322ca8f78bd43df08a4d2b1.jpeg)

---

<div class="post-metadata">

**Author:** ![JPe4619](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jpe4619/32/9017_2.png) [@JPe4619](https://community.homey.app/u/JPe4619)\
**Post date:** [February 24, 2025, 11:15am UTC](https://community.homey.app/t/app-pro-micro-web-server/26565/128 "2025-02-24T11:15:12Z")

</div>

Thanks Peter, this means it is my local problem.  
Tried all this but still no result, the connection is established but the LIST command does not work.  
There are several sound files on it and they can be played, so the LIST command should have to show these files.  
In active mode it takes a few seconds before the response message and the error is displayed.  
Any other suggestions that I can try?  
@robertklep Any idea?

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [February 24, 2025, 11:26am UTC](https://community.homey.app/t/app-pro-micro-web-server/26565/129 "2025-02-24T11:26:08Z")

</div>

Apparently, the Micro Web Server app doesn’t support passive mode:

```auto
14:56:32	Command:	PASV
14:56:32	Response:	502 Command not supported
14:56:32	Command:	PORT 192,168,2,11,197,4
14:56:32	Response:	200 The requested action has been successfully completed
14:56:32	Command:	LIST
14:56:37	Response:	425 No connection established

```

That means that the FTP server needs to be able to make a network connection with your PC (on IP address 192.168.2.11), and it looks like that’s being blocked, probably by a firewall.

The annoying thing about this is that the port number to which the server connects will be different every time (that’s why active mode sucks and FTP servers should support passive mode) so all you can do is somehow whitelist your Homey to allow access to all ports on your PC.

---

<div class="post-metadata">

**Author:** ![JPe4619](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jpe4619/32/9017_2.png) [@JPe4619](https://community.homey.app/u/JPe4619)\
**Post date:** [February 24, 2025, 12:08pm UTC](https://community.homey.app/t/app-pro-micro-web-server/26565/130 "2025-02-24T12:08:55Z")

</div>

Thanks Robert, apparently I added the passive-mode logging, here is a logging in active-mode:

```auto
12:48:43	Status:	Connecting to 192.168.2.22:5081...
12:48:43	Status:	Connection established, waiting for welcome message...
12:48:43	Status:	Insecure server, it does not support FTP over TLS.
12:48:44	Status:	Logged in
12:48:44	Status:	Retrieving directory listing...
12:48:44	Command:	PWD
12:48:44	Response:	257 "/"
12:48:44	Command:	TYPE I
12:48:44	Response:	200 Switch to "binary" transfer mode.
12:48:44	Command:	PORT 192,168,2,11,20,240
12:48:44	Response:	200 The requested action has been successfully completed
12:48:44	Command:	LIST
12:48:49	Response:	425 No connection established
12:48:49	Error:	Failed to retrieve directory listing
13:00:43	Status:	Disconnected from server

```

Does this give a better view on the problem? (disconnected manual @13:00:43)

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [February 24, 2025, 12:12pm UTC](https://community.homey.app/t/app-pro-micro-web-server/26565/131 "2025-02-24T12:12:31Z")

</div>

Still the same issue: the server wants to connect to your PC, and it doesn’t work (“425 No connection established”)

---

<div class="post-metadata">

**Author:** ![JPe4619](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jpe4619/32/9017_2.png) [@JPe4619](https://community.homey.app/u/JPe4619)\
**Post date:** [February 24, 2025, 2:36pm UTC](https://community.homey.app/t/app-pro-micro-web-server/26565/132 "2025-02-24T14:36:29Z")

</div>

Thanks @robertklep and @Peter_Kawa Found the problem,  
the Windows Defender Firewall was blocking it.

---

<div class="post-metadata">

**Author:** ![Kongedam](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kongedam/32/35807_2.png) [@Kongedam](https://community.homey.app/u/Kongedam)\
**Post date:** [December 24, 2025, 11:19am UTC](https://community.homey.app/t/app-pro-micro-web-server/26565/133 "2025-12-24T11:19:20Z")

</div>

Merry Christmas, everyone.  
I am receiving an error when trying to connect via FTP, and I am also unable to access the site through Google Chrome.

> [12:16:53] [L] Connecting to Homey → DNS=homey-XXXXXXXXXXX IP=192.168.1.39 PORT=5081  
> [12:16:53] [L] Connected to Homey  
> [12:16:53] [L] 220-Micro Web Server v2.2.0  
> [12:16:53] [L] 220 Features: a .  
> [12:16:53] [L] USER anonymous  
> [12:16:53] [L] 230 User logged in, proceed  
> [12:16:53] [L] SYST  
> [12:16:53] [L] 215 UNIX Type: L8  
> [12:16:53] [L] FEAT  
> [12:16:53] [L] 211-Extensions supported  
> [12:16:53] [L] AUTH TLS  
> [12:16:53] [L] MDTM  
> [12:16:53] [L] PBSZ  
> [12:16:53] [L] PROT  
> [12:16:53] [L] SIZE  
> [12:16:53] [L] TYPE A,I,L  
> [12:16:53] [L] UTF8  
> [12:16:53] [L] 211 End  
> [12:16:53] [L] OPTS UTF8 ON  
> [12:16:53] [L] 200 UTF8 encoding on  
> [12:16:53] [L] PWD  
> [12:16:53] [L] 257 “/”  
> [12:16:53] [L] PASV  
> [12:16:53] [L] 502 Command not supported  
> [12:16:54] [L] List Error  
> [12:16:54] [L] PASV mode failed, trying PORT mode.  
> [12:16:54] [L] Listening on PORT: 49390, Waiting for connection.  
> [12:16:54] [L] PORT 192,168,1,17,192,238  
> [12:16:54] [L] 200 The requested action has been successfully completed  
> [12:16:54] [L] LIST -al  
> [12:16:54] [L] 451 ENOENT: no such file or directory, stat ‘/userdata/files/-al’  
> [12:16:54] [L] LIST  
> [12:16:54] [L] 451 No connector setup, send PASV or PORT  
> [12:16:55] [L] List Error

If I ignore the error and upload my files,  
they will be uploaded, but I cannot see them in the FTP or Web client.

But I can access them via local URL  
[http://192.168.1.39:5080/Burgler\_Alarm\_15m.mp3](http://192.168.1.39:5080/Burgler_Alarm_15m.mp3)

Edit:  
Tried to use filezilla instead of Flash FXP  
Here I can see my files.

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/1/916f56ac3485dad0caa8c968c024d3f7a3389a4b.png)

---

<div class="post-metadata">

**Author:** ![JPe4619](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jpe4619/32/9017_2.png) [@JPe4619](https://community.homey.app/u/JPe4619)\
**Post date:** [December 24, 2025, 4:00pm UTC](https://community.homey.app/t/app-pro-micro-web-server/26565/134 "2025-12-24T16:00:41Z")

</div>

So? problem solved?

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [December 25, 2025, 1:46am UTC](https://community.homey.app/t/app-pro-micro-web-server/26565/135 "2025-12-25T01:46:56Z")

</div>

> [@Kongedam](#):
>
> unable to access the site

This uses port 5080

---

<div class="post-metadata">

**Author:** ![Kongedam](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kongedam/32/35807_2.png) [@Kongedam](https://community.homey.app/u/Kongedam)\
**Post date:** [December 26, 2025, 9:47am UTC](https://community.homey.app/t/app-pro-micro-web-server/26565/136 "2025-12-26T09:47:12Z")

</div>

Yes problem solved by using Filezilla

---

<div class="post-metadata">

**Author:** ![CoonHouse](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/coonhouse/32/2764_2.png) [@CoonHouse](https://community.homey.app/u/CoonHouse)\
**Post date:** [March 13, 2026, 3:44pm UTC](https://community.homey.app/t/app-pro-micro-web-server/26565/137 "2026-03-13T15:44:28Z")

</div>

Hello,

I’m trying to create an HTML file in HomeyScript, that then can be hosted by Micro Webserver.

I am having trouble storing the file. Does anyone know how to do this?

Thanks.

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [March 13, 2026, 4:09pm UTC](https://community.homey.app/t/app-pro-micro-web-server/26565/138 "2026-03-13T16:09:53Z")

</div>

You have to create such a file with a simple text editor, and save it as .html  
With Micro Web Server, you can FTP that file to the folder it should sit in.

Make sure the Micro Web Server’s FTP server is running

 ![Screenshot_20260313_170644_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/b/7b50d6a06bad282ab38ddbb6e213701fa7546d7a.jpeg)

Now, with an FTP program like FileZilla you can send it to the right Micro Web Server folder  
`ftp://homeys.ip.address:5081/name/of/folder/`

Example  
Define the FTP connection

 ![Screenshot_20260313_171105_Total Commander](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/d/edd7f3397de3bb10deeed6bb69868aea6fd015bd.jpeg)

When connection is established, you can copy the .html file from the local storage folder to the FTP / web server folder

 ![Screenshot_20260313_171734_Total Commander](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/9/f9a6b4d1dbf47502fa1052c676f23e18e09ddbd7.jpeg)

---

<div class="post-metadata">

**Author:** ![CoonHouse](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/coonhouse/32/2764_2.png) [@CoonHouse](https://community.homey.app/u/CoonHouse)\
**Post date:** [March 13, 2026, 4:19pm UTC](https://community.homey.app/t/app-pro-micro-web-server/26565/139 "2026-03-13T16:19:06Z")

</div>

Thanks Peter,

But I want to write the file from HomeyScript. It is constantly changing (regenerated).

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [March 13, 2026, 4:44pm UTC](https://community.homey.app/t/app-pro-micro-web-server/26565/140 "2026-03-13T16:44:56Z")

</div>

I see.  
It should be possible by using adv. flow with Homeyscript “Run code […]” card, and save the result as file, by using a yet to be created and requested flow card of the FTP Client app

> **[FTP Client | Homey](https://homey.app/en-us/app/nl.qluster-it.FtpClient/FTP-Client/)**
>
> Control FTP Servers through a directory-based UI in the Homey App or Web App.

---

<div class="post-metadata">

**Author:** ![CoonHouse](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/coonhouse/32/2764_2.png) [@CoonHouse](https://community.homey.app/u/CoonHouse)\
**Post date:** [March 16, 2026, 10:23am UTC](https://community.homey.app/t/app-pro-micro-web-server/26565/141 "2026-03-16T10:23:30Z")

</div>

Thanks Peter,

So there’s no way to write directly to the folder that Micro Web Server is using. I have the HomeyScript function ready for creating the html file.

Is it also not possible to FTP from HomeyScript?

Otherwise I guess I have to write it to an external web server using an API.

[Previous page](https://community.homey.app/t/app-pro-micro-web-server/26565.md?page=6)

[Next page](https://community.homey.app/t/app-pro-micro-web-server/26565.md?page=8)
