transport messages between tcp server and http server
Posted: Mon May 29, 2023 4:00 pm
Hello everyone.
I have set up an http server at 192.168.4.1:80 and a tcp server at 192.168.4.1 listening on port 5000, how should I transfer the data from the tcp server to the web using the http server? Any suggestions?
There are about 2 ideas now, the first is to set up a tcp client on the http server to forward the data from the tcp server to the http server, the second is to do port data forwarding at the ip layer and forward the data on port 5000 directly to port 80, am I understanding this correctly? Is there a better way to do this?
Thanks.
I have set up an http server at 192.168.4.1:80 and a tcp server at 192.168.4.1 listening on port 5000, how should I transfer the data from the tcp server to the web using the http server? Any suggestions?
There are about 2 ideas now, the first is to set up a tcp client on the http server to forward the data from the tcp server to the http server, the second is to do port data forwarding at the ip layer and forward the data on port 5000 directly to port 80, am I understanding this correctly? Is there a better way to do this?
Thanks.