Answer the question
In order to leave comments, you need to log in
How to listen on a port using apache?
I have Apache configured to listen on port 20202.
The index.php file is run by default.
This port receives tcp traffic.
How can it be accepted with php.
That is, as I see it:
1. The remote device sends data to my server on port 20202.
2. When data arrives at this port, the index.php file is launched.
3. The file receives data from the tcp port in string format, processes it and writes it to the database.
The problem is with getting data from the tcp port.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question