# \[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:** 3

<div class="post-metadata">

**Author:** ![CB83](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/cb83/32/30125_2.png) [@CB83](https://community.homey.app/u/CB83)\
**Post date:** [December 13, 2020, 5:14pm UTC](https://community.homey.app/t/app-pro-micro-web-server/26565/42 "2020-12-13T17:14:25Z")

</div>

@Shakesbeard thanks for this awsome app, and support!! 😃

@JPe4619 Thanks for the help, it worked 💃

---

<div class="post-metadata">

**Author:** ![CB83](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/cb83/32/30125_2.png) [@CB83](https://community.homey.app/u/CB83)\
**Post date:** [December 13, 2020, 6:24pm UTC](https://community.homey.app/t/app-pro-micro-web-server/26565/43 "2020-12-13T18:24:36Z")

</div>

@Shakesbeard

So, now that i have managed to get it to work, i am wondering about something.

Could i have lets say a folder named christmas and still use http ip etc? The software will look in every folder i have for the name i put in the http line?

Hope you understand what i mean😅

---

<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:** [December 13, 2020, 6:48pm UTC](https://community.homey.app/t/app-pro-micro-web-server/26565/44 "2020-12-13T18:48:28Z")

</div>

Hi @CB83,

the logic is simple. The folders are 1:1 refelcted to the HTTP URL.  
Let’s say you got a file jingle.mp3 and you put it into a folder named xmas.  
So in FileZilla (or whichever ftp client you use) the path is /xmas/jingle.mp3  
The URL then is http://###.###.###.###:5080/xmas/jingle.mp3  
But keep in mind the casing is important. /Xmas/jingle.mp3 is not the same as /xmas/Jingle.mp3

---

<div class="post-metadata">

**Author:** ![CB83](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/cb83/32/30125_2.png) [@CB83](https://community.homey.app/u/CB83)\
**Post date:** [December 13, 2020, 7:01pm UTC](https://community.homey.app/t/app-pro-micro-web-server/26565/45 "2020-12-13T19:01:53Z")

</div>

Thank you for that.  
I manually have to pinpoint it as i understand 👌

---

<div class="post-metadata">

**Author:** ![FabianB](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fabianb/32/17313_2.png) [@FabianB](https://community.homey.app/u/FabianB)\
**Post date:** [January 3, 2021, 7:29pm UTC](https://community.homey.app/t/app-pro-micro-web-server/26565/46 "2021-01-03T19:29:38Z")

</div>

Before Christmas I’ve uploaded a Christmas doorbell .mp3 via Filezilla, everything worked like described at the top.  
Now I want to upload another song, but I cannot connect to Homey anymore. Filezilla give me the following error:

| Status: | Verbindingspoging mislukt met “EAI\_NONAME - Er zijn geen nodenaam en servnaam of ze zijn niet bekend”. |
| --- | --- |
| Fout: | Kan niet verbinden met server |

I’ve tried to restart Homey, to restart the Micro Web Server app, to change ports, but every time the same error. Is there someone who can help me with this?

---

<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:** [January 3, 2021, 7:44pm UTC](https://community.homey.app/t/app-pro-micro-web-server/26565/47 "2021-01-03T19:44:25Z")

</div>

What hostname are you using to connect to?

---

<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:** [January 3, 2021, 8:00pm UTC](https://community.homey.app/t/app-pro-micro-web-server/26565/48 "2021-01-03T20:00:45Z")

</div>

As Robert mentioned, double check the hostname. Also make sure you started the FTP server in the apps settings. It is not started automatically.

---

<div class="post-metadata">

**Author:** ![FabianB](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fabianb/32/17313_2.png) [@FabianB](https://community.homey.app/u/FabianB)\
**Post date:** [January 3, 2021, 8:06pm UTC](https://community.homey.app/t/app-pro-micro-web-server/26565/49 "2021-01-03T20:06:39Z")

</div>

Hostname: homey-### , directly copied from the app, so no typos.  
 ![Schermafbeelding 2021-01-03 om 21.18.11](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/b/eb27338ce14e92473f9cabf0e465b706d418e720.png)

---

<div class="post-metadata">

**Author:** ![FabianB](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fabianb/32/17313_2.png) [@FabianB](https://community.homey.app/u/FabianB)\
**Post date:** [January 3, 2021, 8:21pm UTC](https://community.homey.app/t/app-pro-micro-web-server/26565/50 "2021-01-03T20:21:02Z")

</div>

Hostname is double-double checked, and the FTP server is started in the app…

---

<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:** [January 3, 2021, 8:25pm UTC](https://community.homey.app/t/app-pro-micro-web-server/26565/51 "2021-01-03T20:25:17Z")

</div>

Try to use Homey’s IP-address instead (if you know it).

---

<div class="post-metadata">

**Author:** ![FabianB](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fabianb/32/17313_2.png) [@FabianB](https://community.homey.app/u/FabianB)\
**Post date:** [January 3, 2021, 8:26pm UTC](https://community.homey.app/t/app-pro-micro-web-server/26565/52 "2021-01-03T20:26:51Z")

</div>

Now it will connect, but I can’t see any files, and I’m 100% sure there are files on it (I’ve put them there myself…)

---

<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:** [January 4, 2021, 12:35pm UTC](https://community.homey.app/t/app-pro-micro-web-server/26565/53 "2021-01-04T12:35:56Z")

</div>

Hi @FabianB,  
That’s kinda weird. If you can still reproduce this behaviour I could have a look at your installation to check whether it is not a malfunction of the server app itself.  
To do so, reproduce what reported and right afterwards send me a diagnostic report for the app.  
You can do this by going into the Homey app menu “More…” -\> “Apps” -\> “Micro WebServer” -\> Hit the litte gear icon and then the button reading generate diagnostics report. Please add your forum name in the message field so I know where it is coming from. The ID you get from this process is not required.

---

<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:** [January 4, 2021, 12:37pm UTC](https://community.homey.app/t/app-pro-micro-web-server/26565/54 "2021-01-04T12:37:05Z")

</div>

Did you perhaps uninstall and reinstall the app?

---

<div class="post-metadata">

**Author:** ![FabianB](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fabianb/32/17313_2.png) [@FabianB](https://community.homey.app/u/FabianB)\
**Post date:** [January 4, 2021, 4:35pm UTC](https://community.homey.app/t/app-pro-micro-web-server/26565/55 "2021-01-04T16:35:30Z")

</div>

Hi @Shakesbeard,

I’ve send you the report, thanks for watching.

Kind regards,

---

<div class="post-metadata">

**Author:** ![FabianB](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fabianb/32/17313_2.png) [@FabianB](https://community.homey.app/u/FabianB)\
**Post date:** [January 4, 2021, 4:36pm UTC](https://community.homey.app/t/app-pro-micro-web-server/26565/56 "2021-01-04T16:36:06Z")

</div>

I’ve did yesterday, after trying 10 times or more…but I didn’t helped…

---

<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:** [January 4, 2021, 4:37pm UTC](https://community.homey.app/t/app-pro-micro-web-server/26565/57 "2021-01-04T16:37:01Z")

</div>

@Shakesbeard is the ultimate authority on this, but I would assume that if you uninstall the app, all files will be removed.

---

<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:** [January 4, 2021, 4:42pm UTC](https://community.homey.app/t/app-pro-micro-web-server/26565/58 "2021-01-04T16:42:49Z")

</div>

Looks good on app end actually. I can see no issues and it seems to work actually. Look here:  
2021-01-03 21:27:49 [log] [MicroWebServerApp] Upload: /userdata/files/Deurbel-ding-dong-single.mp3  
2021-01-03 21:28:41 [log] [MicroWebServerApp] Requested: /Deurbel-ding-dong-single.mp3  
2021-01-03 21:28:41 [log] [MicroWebServerApp] Resource found: /userdata/files/Deurbel-ding-dong-single.mp3 and is of type audio/mpeg  
2021-01-03 21:28:41 [log] [MicroWebServerApp] Requested: /Deurbel-ding-dong-single.mp3  
2021-01-03 21:28:41 [log] [MicroWebServerApp] Resource found: /userdata/files/Deurbel-ding-dong-single.mp3 and is of type audio/mpeg  
2021-01-03 21:28:41 [log] [MicroWebServerApp] Requested: /Deurbel-Kerst2020.mp3  
2021-01-03 21:28:41 [log] [MicroWebServerApp] Not Found: /userdata/files/Deurbel-Kerst2020.mp3

---

<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:** [January 4, 2021, 5:18pm UTC](https://community.homey.app/t/app-pro-micro-web-server/26565/59 "2021-01-04T17:18:50Z")

</div>

@FabianB

> [@Shakesbeard](#):
>
> You can use the “Cast Website” card instead for the MP3 URL

Do you use “Cast Website”?

---

<div class="post-metadata">

**Author:** ![FabianB](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fabianb/32/17313_2.png) [@FabianB](https://community.homey.app/u/FabianB)\
**Post date:** [January 4, 2021, 7:19pm UTC](https://community.homey.app/t/app-pro-micro-web-server/26565/60 "2021-01-04T19:19:36Z")

</div>

@Shakesbeard  
Yeah, I’ve uploaded the Deurbel-ding-dong-single.mp3 via the IP address as hostname, and before Christmas I’ve uploaded the Deurbel-Kerst2020.mp3 via the HomeyID as hostname…  
Both work, very strange.  
I will upload in the future via my IP address instead of my HomeyID, because that works fine.  
Thank you very much for your help!

@JPe4619, Yes, in my flows I use the ‘cast webpage’ function, that works perfectly!

---

<div class="post-metadata">

**Author:** ![Dennis\_van\_Dinter](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dennis_van_dinter/32/28180_2.png) [@Dennis\_van\_Dinter](https://community.homey.app/u/Dennis_van_Dinter)\
**Post date:** [January 12, 2021, 7:40pm UTC](https://community.homey.app/t/app-pro-micro-web-server/26565/61 "2021-01-12T19:40:08Z")

</div>

@CB83 Got the exact same error using the “cast a video Url” card": “Promise was rejected with falsy value”. Casting with the webpage card works.

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

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