Closed lehnberg closed 5 years ago
Not possible to run 2 servers on the same port. But given that you guys already embed a lot of grin wallet code, you could run the listener as part of wallet713 and sniff if the message coming in is for the grin listener or your own protocol and forward/process accordingly.
Okay so @ignopeverell after some discussion with @ravidio, no additional work is required for this, wallet713 supports running an https and grinbox listener from the same machine as is.
~/.wallet713/main/wallet713.toml
and including
foreign_api=true
foreign_api_address = "0.0.0.0:13415"
where you specify IP:PORT bind.
listen
inside the wallet or configure wallet713.toml
to include grinbox_listener_auto_start = true
in order for it to start automatically.Also, just to clarify: The grinbox listener does not need an inbound port.
As an anonymous cryptocurrency creator looking to accept donations from users via both https and grinbox, I'd like to be able to run both my https and grinbox listener concurrently, so that I don't have to run two separate servers.
Not even sure this is possible, but relevant Gitter chat log: