Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Change ServerSettings port doesn't work #632

Closed
alexredcompanies opened this issue Aug 27, 2019 · 2 comments
Closed

Change ServerSettings port doesn't work #632

alexredcompanies opened this issue Aug 27, 2019 · 2 comments
Labels

Comments

@alexredcompanies
Copy link

Information

  • Version: 5.27.4
  • Type: Issue/Story

Description

I've changed my ServerSetting like the following code:

@ServerSettings({
  port: 8070,
  rootDir: Path.resolve(__dirname), // optional. By default it's equal to process.cwd()
  acceptMimes: ["application/json"]
})

But keeps running on the 8080 port with the output:

[2019-08-27T12:32:30.534] [INFO ] [TSED] - Listen server on http://0.0.0.0:8080
[2019-08-27T12:32:30.534] [INFO ] [TSED] - Listen server on https://0.0.0.0:8000
Server started...
[2019-08-27T12:32:30.534] [INFO ] [TSED] - Started in 42 ms
@alexredcompanies alexredcompanies changed the title Change ServerSetting port doesn't work Change ServerSettings port doesn't work Aug 27, 2019
@Romakita
Copy link
Collaborator

Hello @alexredcompanies
It's a bug. But I'd just tested with httpPort: 8087. it works. I'll fix that ASAP.

@Romakita
Copy link
Collaborator

You have the things with httpsPort: 8007

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants