[SOLVED] can't access Centos 7 apache server default page (Server not found)
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Wow, you stayed up all night, working on this! A 'true' IT admin
A [great?] idea has come to me: 'ask' cestos 'how' your ssh is IP-CONNECTing, by simply:
netstat -nt | grep :22
I'm 'betting' it may say ..122.1
IF so, on win, *try* browsing that address!
Did you 'study'*win host*'s [dos=run cmd] `netstat -rn` ??
Did we ever get to see any of the web or ssh traffic in tcpdump?
Did you find anything in the logs? a 'fav' cmd: ls -latr ("later" but e is an invalid switch) /var/log
ls -latr /var/log
It depends on your primary purpose. If you just want to learn and experimentation and you think that firewall/selinux is getting in the way, you can leave it off for now.
In saying that, learning networking, firewall (and bit of SELinux, maybe) is a must. So it depends what's your immediate goal.
I just typed SELinux's "setenforce 1" immediately, i meant about iptables for these experiments that i'm trying . my SELinux actually is running all the time.
Ooops, 'ninja'ed again, from my sloww [&still terrible] writing ability...
Still, I'd like to see the netstat -nt, to see where it thinks ssh is coming from
(I'm un-betting, back to .2.2; so I guess .122. virbr0 is irrelevant here; [what's it for/do?])
Also, what is 'up' with .2.2 [gw] vs. why you think win is .2.1?
(the netstat -rn *on win*!) Or win> ipconfig/all
Wow, you stayed up all night, working on this! A 'true' IT admin
A [great?] idea has come to me: 'ask' cestos 'how' your ssh is IP-CONNECTing, by simply:
netstat -nt | grep :22
I'm 'betting' it may say ..122.1
IF so, on win, *try* browsing that address!
Did you 'study'*win host*'s [dos=run cmd] `netstat -rn` ??
Did we ever get to see any of the web or ssh traffic in tcpdump?
Did you find anything in the logs? a 'fav' cmd: ls -latr ("later" but e is an invalid switch) /var/log
ls -latr /var/log
Ooops, 'ninja'ed again, from my sloww [&still terrible] writing ability...
Still, I'd like to see the netstat -nt, to see where it thinks ssh is coming from
(I'm un-betting, back to .2.2; so I guess .122. vbrg0 is irrelevant here; [what's it for/do?])
Ooops, 'ninja'ed again, from my sloww [&still terrible] writing ability...
Still, I'd like to see the netstat -nt, to see where it thinks ssh is coming from
(I'm un-betting, back to .2.2; so I guess .122. virbr0 is irrelevant here; [what's it for/do?])
Also, what is 'up' with .2.2 [gw] vs. why you think win is .2.1?
(the netstat -rn *on win*!) Or win> ipconfig/all
[root@localhost logs]# netstat -nt
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 192.168.2.128:22 192.168.2.1:3250 ESTABLISHED
tcp 1 0 192.168.2.128:44877 192.168.2.128:80 CLOSE_WAIT
That's why I was asking for output of iptables -nvL and was about to give up when none was received. Perhaps, specific traffic such as icmp/http explicitly blocked? I don't know as no ouput was supplied.
The gateway at 2.2 has no relevance in this instance as the 2 nodes (on the same subnet) who tried to communicate with each other do not require IP routing.
I think that's [netstat] -ln, Listen, not -t, TCP *CONNECTions*...
netstat -nt
Thanks for you patience! I'm learning a lot too!
(and 'who' [ipconfig/all] *win* 'think it is' [IPaddresses on its various interfaces] ??)
p.s. when I saw: "my centos hadn't any iptables installed",
I skipped the whole firewall issue, since I barely today discovered:
iptables -L (to see if ?any? firewall is 'running')
... but still looking for (to complete my understanding/learning):
(and 'who' [ipconfig/all] *win* 'thinks it is' [IPaddresses on its various interfaces] ??)
Wow, you stayed up all night, working on this! A 'true' IT admin
A [great?] idea has come to me: 'ask' cestos 'how' your ssh is IP-CONNECTing, by simply:
netstat -nt | grep :22
I'm 'betting' it may say ..122.1
IF so, on win, *try* browsing that address!
Did you 'study'*win host*'s [dos=run cmd] `netstat -rn` ??
Did we ever get to see any of the web or ssh traffic in tcpdump?
Did you find anything in the logs? a 'fav' cmd: ls -latr ("later" but e is an invalid switch) /var/log
ls -latr /var/log
maybe some others laugh or ridiciuling me but after 2 days finally i saw the first web page that i created as sample in my life (a very basic work in servering).
currently i can sleep...
I think that's [netstat] -ln, Listen, not -t, TCP *CONNECTions*...
netstat -nt
Thanks for you patience! I'm learning a lot too!
(and 'who' [ipconfig/all] *win* 'think it is' [IPaddresses on its various interfaces] ??)
one interesting thing was that i had the ping of vmnet1 the upper right interface in the picture that is in another subnet 192.168.206.x/24. i think because it is wired.
Oh, I see the .2.1 Hmmmm, I wonder why guest has .2.2[?] Vmware 'magic', I guess...
Can you get a 'dos terminal [run cmd]' on your winX? (it's VERY useful to know how...)
& do the:
netstat -rn (&post screen shot; THEN you can get sleep
Oh, I see the .2.1 Hmmmm, I wonder why guest has .2.2[?] Vmware 'magic', I guess...
Can you get a 'dos terminal [run cmd]' on your winX? (it's VERY useful to know how...)
& do the:
netstat -rn (&post screen shot; THEN you can get sleep
yes , i wondered,too before i disable firewalls gateway became 2.2!!! while it should be 2.255
.255 is a "broadcast" (like .0)
.1.x must be your ISP/internet connection [sub]net.
I see .2.1 but .2.2 must be some vmware 'magic', that ?logically replaces [on guest]?
what 'we' think should be .2.1 (thus ping .2.2, not .2.1, works=is-required). Idk...
I had an idea, for my learning: IF you could give me the exact cmds to recreate this problem (at LinuxZoo.org; I don't have 'resources' myself)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.