Skip to content
This repository has been archived by the owner on Jul 6, 2024. It is now read-only.

Option for Host IP configuration #17

Open
ansarizafar opened this issue Dec 19, 2019 · 2 comments
Open

Option for Host IP configuration #17

ansarizafar opened this issue Dec 19, 2019 · 2 comments

Comments

@ansarizafar
Copy link

Aero provides an option to set Port but there is no configuration setting for Host IP. Please provide an option for setting Host IP.

@lkeix
Copy link

lkeix commented Dec 30, 2020

Hi!
I suggest a way to set Port by writing on program when developer run their application.
For example:

// current application run method (r is value returned by aero.New())
r.Run()

// I suggested way. (port is string)
r.Run(port)
or
r.Run(":8080")

When I develop api using multiple port, I think the way is more comfortable.

@eco747
Copy link

eco747 commented May 2, 2023

Port can be set with Config.http.port, but IP should be a great improvement, instead of localhost by default

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

4 participants