[GH-ISSUE #2012] PORT not recognised in .env #578

Closed
opened 2026-02-26 18:47:39 +03:00 by kerem · 3 comments
Owner

Originally created by @grosjo on GitHub (Aug 31, 2025).
Original GitHub issue: https://github.com/documenso/documenso/issues/2012

Issue Description

Hi
Whatever number wit set PORT to, in the .env file, this is not taken into account when launching the app (npm run start)

Steps to Reproduce

No response

Expected Behavior

No response

Current Behavior

No response

Screenshots (optional)

No response

Operating System [e.g., Windows 10]

Archlinux

Browser [e.g., Chrome, Firefox]

Chrome

Version [e.g., 2.0.1]

Git

Please check the boxes that apply to this issue report.

  • I have searched the existing issues to make sure this is not a duplicate.
  • I have provided steps to reproduce the issue.
  • I have included relevant environment information.
  • I have included any relevant screenshots.
  • I understand that this is a voluntary contribution and that there is no guarantee of resolution.
  • I want to work on creating a PR for this issue if approved
Originally created by @grosjo on GitHub (Aug 31, 2025). Original GitHub issue: https://github.com/documenso/documenso/issues/2012 ### Issue Description Hi Whatever number wit set PORT to, in the .env file, this is not taken into account when launching the app (npm run start) ### Steps to Reproduce _No response_ ### Expected Behavior _No response_ ### Current Behavior _No response_ ### Screenshots (optional) _No response_ ### Operating System [e.g., Windows 10] Archlinux ### Browser [e.g., Chrome, Firefox] Chrome ### Version [e.g., 2.0.1] Git ### Please check the boxes that apply to this issue report. - [x] I have searched the existing issues to make sure this is not a duplicate. - [x] I have provided steps to reproduce the issue. - [x] I have included relevant environment information. - [x] I have included any relevant screenshots. - [x] I understand that this is a voluntary contribution and that there is no guarantee of resolution. - [ ] I want to work on creating a PR for this issue if approved
kerem 2026-02-26 18:47:39 +03:00
Author
Owner

@catalinpit commented on GitHub (Sep 1, 2025):

Hey, the port is set to 3000 directly. If you self-host, you can change the way it works in the Vite config. Also, don't forget to update WEBAPP_URL vars and any other relevant code.

<!-- gh-comment-id:3242253468 --> @catalinpit commented on GitHub (Sep 1, 2025): Hey, the port is set to `3000` directly. If you self-host, you can change the way it works in the Vite config. Also, don't forget to update `WEBAPP_URL` vars and any other relevant code.
Author
Owner

@grosjo commented on GitHub (Sep 2, 2025):

But this does not work, this is the issue

Why did you close the issue ???

<!-- gh-comment-id:3244030087 --> @grosjo commented on GitHub (Sep 2, 2025): But this does not work, this is the issue Why did you close the issue ???
Author
Owner

@catalinpit commented on GitHub (Sep 2, 2025):

But this does not work, this is the issue

Why did you close the issue ???

The way it works now is the intended way.

<!-- gh-comment-id:3244276637 --> @catalinpit commented on GitHub (Sep 2, 2025): > But this does not work, this is the issue > > Why did you close the issue ??? The way it works now is the intended way.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/documenso#578
No description provided.