Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

[Feature] Added webui port to appsettings.json #540

Closed
Bootta11 opened this issue Nov 3, 2020 · 4 comments
Closed

[Feature] Added webui port to appsettings.json #540

Bootta11 opened this issue Nov 3, 2020 · 4 comments

Comments

@Bootta11
Copy link

Bootta11 commented Nov 3, 2020

I have problem with overlapping port on smtp4dev and other app, please add webui port to appsettings.json config so it can be changed from predefined 5000.

@andy250
Copy link

andy250 commented Feb 19, 2021

You can set custom port when starting the app. I have set it in the {PathToExe} when installing windows service:

C:\your\path\Rnwood.Smtp4dev.exe --service --server.urls "http://0.0.0.0:5001/"

@Welchen
Copy link

Welchen commented Apr 24, 2024

This would be a great feature. I would like to run it as https so I can use it my chrome. Would be nice to be able to just type smtp4dev in my commandline instead of remembering to add the switch.

@fjakop
Copy link

fjakop commented May 6, 2024

I totally agree. We are abou tot run smtp4dev in an OpenShift cluster whic does not allow root containers, so we cannot use port 80 for Kestrel and we do not intend to change the Dockerfile as well.

We can set ports for smtp and imap in the env vars like

        - name: ServerOptions__Port
          value: '1025'
        - name: ServerOptions__ImapPort
          value: '1143'

but it seems there's no option for http port.

@rnwood
Copy link
Owner

rnwood commented May 6, 2024

This has been implemented in PR #1462.

Please see the settings file (and existing --urls command line option) for info.

@rnwood rnwood closed this as completed May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants