---
title: "Comment by TEAM SCITS on \"Build a REST API with Node.js: Upload an Image File\" | Hashnode"
description: "HI. thanks for the amazing tutorial. But when I&#39;m using it on server it&#39;s not working. Localhost is working . Why is it?"
url: "https://hashnode.com/posts/build-rest-api-with-nodejs-upload-files-mongodb/5f2cb59d3b12e25afe3e42df/comment/64f94652c035cd988c3239d0"
---

[Discussion](https://hashnode.com/posts/build-rest-api-with-nodejs-upload-files-mongodb/5f2cb59d3b12e25afe3e42df)

Comment [Build a REST API with Node.js: Upload an Image File](https://hashnode.com/posts/build-rest-api-with-nodejs-upload-files-mongodb/5f2cb59d3b12e25afe3e42df)

[TEAM SCITS](https://hashnode.com/@teamscits)

[Sep 7, 2023](https://hashnode.com/posts/build-rest-api-with-nodejs-upload-files-mongodb/5f2cb59d3b12e25afe3e42df/comment/64f94652c035cd988c3239d0)

HI. thanks for the amazing tutorial. But when I'm using it on server it's not working. Localhost is working . Why is it?
