T
T
Tom Nolane2021-09-13 09:17:20
Web servers
Tom Nolane, 2021-09-13 09:17:20

How to implement your protocol?

How can you implement your own puncture for a web server? So that, for example, the user follows my link like: custom-protocol://mysite.com , my web server catches this and (roughly speaking, inside the web server) redirects the user as if he had entered via standard http (s) and showed him the site?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
AlexVWill, 2021-09-13
@tomnolane

follows my link like: custom-protocol://mysite.com ,

the issue is not in the server, but in the client, URL processing, i.e. opening the corresponding application is a local task, and then the local application is responsible for where the request is sent, to which address on which port, and that at the other end on the server this request is answered ... the web server works only with HTTP (S) , that's why he and the web, in order for the response to some custom protocol to be implemented, it is necessary that on the remote side the corresponding port listens to the custom server

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question