• Home
  • Downloads
  • Contact Us
  • Report Broken Link
Wednesday, May 14, 2025
  • Login
lessons4you.info
  • Videos
  • Downloads
  • Help
    • Contact Us
    • Report Broken Link
No Result
View All Result
  • Videos
  • Downloads
  • Help
    • Contact Us
    • Report Broken Link
No Result
View All Result
Lessons4you.info
No Result
View All Result

[SOLVED] Can't locate ExtUtils/Embed.pm - CentOS

[SOLVED] Error mounting: mount: unknown filesystem type 'ntfs'

[SOLVED] Not Able to Access Centos Apache Page from Another Computer

by
December 11, 2021
in Uncategorized
Reading Time: 1 min read
A A
Share on FacebookShare on Twitter

If your apache and httpd running but you are not able to see your website then follow this method to get working. This is tested on CentOS 6.5.

There are several possibilities.
– firewall, iptables configuration
– apache listen address / port

If the issue is with the firewall/iptables, you can add the following lines to /etc/sysconfig/iptables:

1
2
3
4
 
-A INPUT -p tcp -m tcp --dport 80 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 443 -j ACCEPT
 

Note: Second line is only needed for https

1
2
3
 
# vi /etc/sysconfig/iptables
 

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
 
# Firewall configuration written by system-config-firewall
# Manual customization of this file is not recommended.
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
-A INPUT -p tcp -m tcp --dport 80 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 443 -j ACCEPT
-A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
-A INPUT -p icmp -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT
-A INPUT -j REJECT --reject-with icmp-host-prohibited
-A FORWARD -j REJECT --reject-with icmp-host-prohibited
COMMIT
~      
 

Make sure this is above any lines that would globally restrict access, like the following:

1
2
3
 
-A INPUT -j REJECT --reject-with icmp-host-prohibited
 

And finally restart the iptable service.

1
2
3
4
5
6
7
8
 
# service iptables restart
 
iptables: Setting chains to policy ACCEPT: filter          [  OK  ]
iptables: Flushing firewall rules:                         [  OK  ]
iptables: Unloading modules:                               [  OK  ]
iptables: Applying firewall rules:                         [  OK  ]
 

Tags: Errors
Previous Post

[SOLVED] Can’t locate ExtUtils/Embed.pm – CentOS

Next Post

[SOLVED] Error mounting: mount: unknown filesystem type ‘ntfs’

Related Posts

How To Install The TWRP Recovery on Xiaomi Redmi 1s
Uncategorized

How To Install The TWRP Recovery on Xiaomi Redmi 1s

May 14, 2022
MIUI Collection Of Gapps (2.3.x – 5.0.x)
Uncategorized

MIUI Collection Of Gapps (2.3.x – 5.0.x)

May 14, 2022
Download Android 5.1.x Lollipop PA Gapps
Uncategorized

Download Android 5.1.x Lollipop PA Gapps

May 15, 2022
Download gapps for Android 5.1 Lollipop Cyanogemod 12.1
Uncategorized

Download gapps for Android 5.1 Lollipop Cyanogemod 12.1

May 14, 2022
Reddit AMA with OxygenOS Team OnePlus
Uncategorized

Reddit AMA with OxygenOS Team OnePlus

May 14, 2022
How to Remove Adobe Updater from OS X Menu Bar?
Uncategorized

How to Remove Adobe Updater from OS X Menu Bar?

July 19, 2023
Next Post

[SOLVED] Error mounting: mount: unknown filesystem type 'ntfs'

  • Home
  • Downloads
  • Contact Us
  • Report Broken Link

© 2022 lessons4you.info

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In
No Result
View All Result
  • Videos
  • Downloads
  • Help
    • Contact Us
    • Report Broken Link

© 2022 lessons4you.info