A
A
Alexander Karpov2018-10-09 11:41:57
PHP
Alexander Karpov, 2018-10-09 11:41:57

How to use a specific network interface in PHP?

Now I'm looking for a solution, but maybe someone will prompt faster.
I need outgoing connections made in php for a specific web application or launched through the console to be made through a separate network interface.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Ruslan Fedoseev, 2018-10-09
@Inkognitoss

This is not addressed at the application level.
Either setting up routing, or output the application to a separate virtual machine, which you can attach to the desired interface.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question