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

Linux Programming

 
AnswerRe: Shrinking root partiton Pin
jschell24-Jan-23 10:31
jschell24-Jan-23 10:31 
AnswerRe: Shrinking root partiton Pin
Jeremy Falcon13-Feb-23 12:56
professionalJeremy Falcon13-Feb-23 12:56 
QuestionMessage Closed Pin
29-Dec-22 8:51
Member 1496877129-Dec-22 8:51 
AnswerRe: How to add CAP_NET_ADMIN=eip permanently ? Pin
Eddy Vluggen20-Jan-23 7:24
professionalEddy Vluggen20-Jan-23 7:24 
AnswerRe: How to add CAP_NET_ADMIN=eip permanently ? Pin
jschell22-Jan-23 9:11
jschell22-Jan-23 9:11 
QuestionMessage Closed Pin
25-Oct-22 17:20
Member 1496877125-Oct-22 17:20 
AnswerRe: How to backup Linux OS? Pin
Richard MacCutchan25-Oct-22 22:22
mveRichard MacCutchan25-Oct-22 22:22 
GeneralMessage Closed Pin
26-Oct-22 5:54
Member 1496877126-Oct-22 5:54 
GeneralRe: How to backup Linux OS? Pin
Richard MacCutchan26-Oct-22 6:19
mveRichard MacCutchan26-Oct-22 6:19 
GeneralMessage Closed Pin
27-Oct-22 4:20
Member 1496877127-Oct-22 4:20 
GeneralRe: How to backup Linux OS? Pin
Richard MacCutchan27-Oct-22 4:40
mveRichard MacCutchan27-Oct-22 4:40 
AnswerRe: How to backup Linux OS? Pin
Jeremy Falcon2-Nov-22 13:57
professionalJeremy Falcon2-Nov-22 13:57 
GeneralRe: How to backup Linux OS? Pin
Peter_in_27802-Nov-22 14:10
professionalPeter_in_27802-Nov-22 14:10 
GeneralRe: How to backup Linux OS? Pin
Jeremy Falcon3-Nov-22 8:40
professionalJeremy Falcon3-Nov-22 8:40 
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 
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 
Since you're using http then that would be port 80. If you've installed a web server on PC2, then you may already have port 80 open. You can check to make sure that the port is open using nc
Shell
nc -z -w 1 IpPC2 80; echo $?
$? is the return value of the last command, so if it's 0 then the connection was successful. Anything other than 0, and the connection failed. Make sure you've got a web server running on PC2. You can do that using netstat
Terminal
[k5054@localhost: ~$ sudo netstat -tlnp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      1/init
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      623/sshd: /usr/sbin
tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN      659/cupsd
tcp        0      0 127.0.0.1:5432          0.0.0.0:*               LISTEN      664/postgres
tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN      1001/exim4
tcp        0      0 127.0.0.1:6010          0.0.0.0:*               LISTEN      1422/sshd: k5054@pt
tcp6       0      0 :::111                  :::*                    LISTEN      1/init 
tcp6       0      0 :::22                   :::*                    LISTEN      623/sshd: /usr/sbin
tcp6       0      0 ::1:631                 :::*                    LISTEN      659/cupsd
tcp6       0      0 ::1:5432                :::*                    LISTEN      664/postgres
tcp6       0      0 ::1:25                  :::*                    LISTEN      1001/exim4
tcp6       0      0 ::1:6010                :::*                    LISTEN      1422/sshd: k5054@pt
You want to look for something listening on port 80 - which I do not have running in the above screen grab
Keep Calm and Carry On

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.