Click here to Skip to main content
15,867,308 members
Home / Discussions / Linux Programming
   

Linux Programming

 
QuestionMessage Closed Pin
24-Oct-22 5:07
Member 1496877124-Oct-22 5:07 
AnswerRe: How to recover - Ubuntu 22.04.1 OS fails to install / activate d bus Pin
Jeremy Falcon2-Nov-22 14:08
professionalJeremy Falcon2-Nov-22 14:08 
Questionexecute multiple commands assigned to a single variable - bash Pin
raphael Oct202216-Oct-22 20:55
raphael Oct202216-Oct-22 20:55 
AnswerRe: execute multiple commands assigned to a single variable - bash Pin
k505417-Oct-22 4:38
mvek505417-Oct-22 4:38 
GeneralRe: execute multiple commands assigned to a single variable - bash Pin
Richard MacCutchan17-Oct-22 5:10
mveRichard MacCutchan17-Oct-22 5:10 
QuestionMessage Closed Pin
13-Oct-22 8:04
Member 1496877113-Oct-22 8:04 
AnswerRe: BlueZ / bluetoothctl - where to look for specific ( mouse events? ) source code? Pin
Richard MacCutchan13-Oct-22 22:06
mveRichard MacCutchan13-Oct-22 22:06 
Questionphp that runs on Debian 11 and connects to another machine on the network. Pin
Member 1579676013-Oct-22 4:52
Member 1579676013-Oct-22 4:52 
I am developing a website that uses javascript, php and jQuery.

One of the screens executes a php that connects to the IP of another PC that
is on the same network as the PC with the web server.

However, this PHP fails because it doesn't have access to the other PC.

Both PCs have Debian 11 installed.

Seeing that in any of them to ping the other, it is necessary to do it with sudo, I thought that the problem may be in that it is necessary to add the web user (www-data) to the netdev group, like so I have executed the command:

$ sudo adduser www-data netdev

Adding user `www-data' to group `netdev' ...
Adding user www-data to group netdev
Done.


But the php is still unable to access the other PC.

Should I configure something else?

Any comment or suggestion is welcome.
AnswerRe: php that runs on Debian 11 and connects to another machine on the network. Pin
k505413-Oct-22 5:07
mvek505413-Oct-22 5:07 
GeneralRe: php that runs on Debian 11 and connects to another machine on the network. Pin
Member 1579676013-Oct-22 7:03
Member 1579676013-Oct-22 7:03 
GeneralRe: php that runs on Debian 11 and connects to another machine on the network. Pin
k505413-Oct-22 7:35
mvek505413-Oct-22 7:35 
GeneralRe: php that runs on Debian 11 and connects to another machine on the network. Pin
Member 1579676014-Oct-22 1:53
Member 1579676014-Oct-22 1:53 
QuestionMessage Closed Pin
6-Oct-22 7:31
Member 149687716-Oct-22 7:31 
AnswerRe: Removing unneeded OS partitions Pin
Jeremy Falcon2-Nov-22 14:10
professionalJeremy Falcon2-Nov-22 14:10 
Questiongrub-rescue flashes then grub menu Pin
tumuxoyu5-Jul-22 23:52
tumuxoyu5-Jul-22 23:52 
QuestionBasic on shell ,Git and vagrant Pin
Ezikiel Odutola22-Jun-22 22:24
Ezikiel Odutola22-Jun-22 22:24 
AnswerRe: Basic on shell ,Git and vagrant Pin
Richard Deeming22-Jun-22 23:57
mveRichard Deeming22-Jun-22 23:57 
QuestionMessage Closed Pin
26-May-22 5:35
Member 1496877126-May-22 5:35 
AnswerRe: Mutiboot grub - run last OS option - all Linux Pin
Richard MacCutchan26-May-22 21:46
mveRichard MacCutchan26-May-22 21:46 
GeneralMessage Closed Pin
27-May-22 6:50
Member 1496877127-May-22 6:50 
GeneralRe: Mutiboot grub - run last OS option - all Linux Pin
Richard MacCutchan27-May-22 21:53
mveRichard MacCutchan27-May-22 21:53 
AnswerRe: Mutiboot grub - run last OS option - all Linux Pin
Gerry Schmitz27-May-22 8:06
mveGerry Schmitz27-May-22 8:06 
GeneralMessage Closed Pin
28-May-22 6:46
Member 1496877128-May-22 6:46 
GeneralRe: Mutiboot grub - run last OS option - all Linux Pin
Gerry Schmitz28-May-22 7:47
mveGerry Schmitz28-May-22 7:47 
QuestionMessage Closed Pin
30-Apr-22 4:25
Member 1496877130-Apr-22 4:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.