Cannot access webserver from internet Centos 6.5 [closed] - linux

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I have installed a CentOS 6.5 web server, now it is connected to LAN and WAN, Joomla is installed (LAMP)
I'm not able to see the webpage from internet only from LAN
I've checked
/etc/resolv.conf
eth1 Internet IP
/etc/httpd/conf/httpd.conf
/etc/hosts
[public ip] [www.mywebsite.org.ec]
I have disabled iptables, but still no access.
Is there something else I can check?
SOLUTION:
There was something missing in the route table.
You have to set de WAN gateway as default instead of LAN Gateway

To see the web page from internet side your gateway router should direct requests for HTTP to your server. Check your NAT configuration for the gateway device. Also if there exists a firewall on that device, you should configure it to accept HTTP requests.

Related

Is it possible to set up a VPN server on Debian 8 while keeping my web services (php/apache)? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
I would like to set up a VPN server, however it means ipv4 forwarding. Is it possible to set up a VPN without shutting down web services or should i use 2 separate servers ?
Thanks for reading ;)
Setting up a VPN server should not affect your web services. The only limitation is that you cannot use an HTTP(S) port (80 or 443), which I personally find practical (I have already seen Wi-Fi hotspots blocking all the ports except 80 and 443). However, if you get along with another port, you will do fine.
There is a good article about setting up an OpenVPN server on Debian Wiki (here). I have managed to set up the server using only this article.
Wishing you good luck.

Open 8080 port on my local server to public [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
I'm really new to deployment, server management, etc. I'm built this internal dashboard website in my company in port 8080. Other co-workers would like to access my website remotely. Is there a way to open access to public just for port 8080? Please help.
That depends on how your network is built.
Basically, you have to forward the requests on the port 8080 from the main router connected to the internet to the IP and port of the server hosting the website. This way, every time a request is made to the public IP on the port 8080, the router forwards it to the local IP of the intended server.
If you provide more information about the network infrastructure maybe we could try to figure it out.
You have to access to Router Property (192.168.1.1) and configure NAT . Other co-workers can access to your website in this way -> publicIp:8080

Can access via browser but cannot ping? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
I am working in a windows 7 corporate environment with a proxy and I need to run a application which uses ping to check a connection.
www.google.com is accessible from the browser but when I try to run ping www.google.com from the command prompt I get host unreachable.
PS: I tried telnet www.google.es 80/443 and it doesn't work, I already tried attacking the IP but it doesn't work (timeout).
Unfortunately this is not possible, web proxies understand specific set of protocols HTTP, HTTPS, TCP , some streaming protocols, whatever they support would be either TCP or UDP based. But ping is ICMP. You can't pipe ICMP through a web proxy.
However, you have some alternatives:
1- Ask your IT team to open ICMP for you from firewall, assume routing exist.
2- Recode the application to test connectivity using HTTP requests instead of ping.
3- Add whatever host the application is testing the connectivity with to the windows hosts file and map it to 127.0.0.1:
127.0.0.1 www.somehost.com
This will make the application thinking connectivity exist.

Raspberry Pi 2: routing table has no the specified gateway [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I have this routing table:
I used SSH to be able to use my Raspberry Pi on my laptop screen. Everything was fine until I opened my browser and wanted to ping Google in the terminal. I can't, though.
When I try to ping 8.8.8.8 (Google's nameserver), I get the message below the routing table in the image above. But the strange thing is, when I run SSH with PuTTY on a different laptop, the Internet connection is fine. So probably the problem is on my laptop.
How can I fix this issue?
Seems like you are using 192.168.1.1 as a gateway, yet you have configured 192.168.137.0/24 as the network.
You should either try to configure the default gateway to - perhaps - 192.168.137.1 or your IP address to 192.168.1.x.
An ifconfig output would be handy.
Edit:
Add default gateway:
route add default gw 192.168.137.1
You might also need to remove current default gateway(s).

Connection refused on SVN checkout attempt [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I am using Linux on VMWare Workstation inside windows 7 and i want to access to the URL below in terminal but i always get this error back. I am totally sure that everything is correct because my friend has tried the same on his computer and it worked. Please advise me something about it .It is very important
svn co svn://svn.alunos.di.uminho.pt/projectname --username __ --password __
svn: E000111: Unable to connect to a repository at URL 'svn://svn.alunos.di.uminho.pt/__'
svn: E000111: Can't connect to host 'svn.alunos.di.uminho.pt': Connection refused
The problem is that the IP address of the VM is being blocked from connecting somehow. It could be being blocked by the server, or an intermediate firewall (because it doesn't recognise the IP address, or because you are using some network like a guest network or wifi, that blocks certain ports or hosts) or it could be that there is no route from the VM to the server.
Basically I would say it's an IT Helpdesk issue; however, if the Helpdesk does not support VMware, or does not support Linux, or does not support connecting to that server, then you will have to ask someone else.

Resources