Cannot connect to server

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Cannot connect to server

Postby ErraticFox » 04. February 2014 22:27

Over the week I was at my friends with my desktop. In that time short amount of time, I found out what a Apache server was. I set one up, port forwarded through his router and I was fixing up my own website with PHP and all.

When I came home today, I port forwarded all my stuff through my router and made my domain point to my (home) IP. I could not connect through my domain. So, I even did a clean, fresh install of XAMPP. I still cannot connect via domain name or public IP address. I can connect via localhost and local IP address.

So, why can't I connect through my domain name or my public IP address? The ports I forwarded are 80, 443, and 3306 (all TCP/UDP). I've turned my Apache and MySQL server off and used the pfportchecker program to check if the ports were open and it said they were.

So does anybody know the problem? Anybody that's not on the router, can connect. People on the router, cannot connect.
ErraticFox
 
Posts: 2
Joined: 04. February 2014 22:24
Operating System: Windows 8.1

Re: Cannot connect to server

Postby JJ_Tagy » 04. February 2014 22:44

ErraticFox wrote:...
The ports I forwarded are 80, 443, and 3306 (all TCP/UDP).
...

Which is exactly why Altrea explains why exposing XAMPP to the internet is not recommended/supported.

Generally, if you find that you can't use your external IP and/or domain name from within your internal network, your router may not support loopback.
JJ_Tagy
 
Posts: 788
Joined: 30. January 2012 13:44
XAMPP version: 5.5.15
Operating System: Windows 10 Pro x64

Re: Cannot connect to server

Postby ErraticFox » 04. February 2014 23:22

It's the latest Xfinity router. How can I tell if it doesn't support loop back?
ErraticFox
 
Posts: 2
Joined: 04. February 2014 22:24
Operating System: Windows 8.1

Re: Cannot connect to server

Postby JJ_Tagy » 05. February 2014 00:10

Either consult the company or run your own tests. Looks like most of your tests are done. I would test from a smart phone or somewhere outside your network. If it forwards fine, then most likely it doesn't support it.
JJ_Tagy
 
Posts: 788
Joined: 30. January 2012 13:44
XAMPP version: 5.5.15
Operating System: Windows 10 Pro x64

Re: Cannot connect to server

Postby Altrea » 05. February 2014 05:01

I am still hoping that you have the knowledge and spend the time to secure all public accessible XAMPP components.
XAMPP is not made or supported for live, production or public accessible environments.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: Cannot connect to server

Postby Colinf01752 » 17. February 2014 22:11

Altrea wrote:I am still hoping that you have the knowledge and spend the time to secure all public accessible XAMPP components.
XAMPP is not made or supported for live, production or public accessible environments.


Forgive me if this question sounds a little ignorant, but I don't understand the purpose of integrating all of these components into xampp and then saying it cannot be put into a publicly accessible environment. Someone ike myself who has very limited html or php programming knowledge, needs something like this as a template to build their own server. If I had to do this from complete scratch my head would be spinning.

Colin
Colinf01752
 
Posts: 3
Joined: 17. February 2014 21:46
Operating System: Windows XP

Re: Cannot connect to server

Postby JJ_Tagy » 17. February 2014 22:48

You can build a complete functioning site (and securely) without exposing it to the internet.

EDIT: And by that, I mean you don't have to expose your test environment to the internet.
JJ_Tagy
 
Posts: 788
Joined: 30. January 2012 13:44
XAMPP version: 5.5.15
Operating System: Windows 10 Pro x64

Re: Cannot connect to server

Postby Colinf01752 » 18. February 2014 00:31

So is the only alternative to go with Zend Server for it to be secure? Is there a free and/or cheap alternative that is more secure the xampp in general? Thanks for the help JJ.
Colinf01752
 
Posts: 3
Joined: 17. February 2014 21:46
Operating System: Windows XP

Re: Cannot connect to server

Postby Altrea » 18. February 2014 04:48

Colinf01752 wrote:Forgive me if this question sounds a little ignorant, but I don't understand the purpose of integrating all of these components into xampp and then saying it cannot be put into a publicly accessible environment.

I am don't saying it cannot (in the sense of technically impossible). I am saying we don't support this so if you want to do this you are on your own.
The purpose of XAMPP is to build up a local test and development environment with with minimum effort.

Colinf01752 wrote:Someone ike myself who has very limited html or php programming knowledge, needs something like this as a template to build their own server.

An administrator of a public accessible webserver should have all the knowledge to integrate and secure up these single components on their own. This is not a task for a beginner.

Colinf01752 wrote:So is the only alternative to go with Zend Server for it to be secure? Is there a free and/or cheap alternative that is more secure the xampp in general?

Zend Server (there is also a free version of this) is made for production environments, so it is tuned for security and stability. But Zend Server is also a Stack, you cannot update any of their single components if there is a new security issue for any of them out there.
The only recommend alternative for a live webserver is to install and integrate all the needed single components on your own.

A good alternative for beginner users who want to have their own public accessible website are webhosting services or managed (v)server. You can rent them for a very small amout of money and don't need to bother of all the server security settings because they are doing this for you.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: Cannot connect to server

Postby Nobbie » 18. February 2014 11:16

Colinf01752 wrote:So is the only alternative to go with Zend Server for it to be secure?


Why Zend Server?

Colinf01752 wrote:Is there a free and/or cheap alternative that is more secure the xampp in general?


Any webhosting service. There are as well free services (mostly very limited), as well as cheap services (usually starting at 1 Euro or 1 Dollar a month) and there is "open end" in price and space.

Xampp is meant to develop and run your own scripts and projects AT HOME. If you like to run it in the WWW, go for a webhoster and transfer your scripts and projects onto the public server (provided server).
Nobbie
 
Posts: 13170
Joined: 09. March 2008 13:04


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 131 guests