How do I enable remote access to a directory

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

How do I enable remote access to a directory

Postby adorah » 02. October 2018 19:10

I've installed for the first time xampp on Windows 7 32 bit to run a crm, that normally I install on Linux.
Alas it seems directories in htdocs folder can be accessed only locally and not from a remote ip. How do I enable access remotely in Apache. The router is properly configured and points to the proper port on Apache server
adorah
 
Posts: 3
Joined: 02. October 2018 19:00
XAMPP version: 7.0.31
Operating System: Windows 7 32 bit

Re: How do I enable remote access to a directory

Postby Altrea » 03. October 2018 10:23

No, htdocs resources are not restricted to local access only by default.
There are only a few parts that can only be accessed locally like phpmyadmin or server-info
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: 9336
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: How do I enable remote access to a directory

Postby adorah » 07. October 2018 21:03

When I connect from an external address the address changes to
http://localhost/vtigercrm/
And the text is
This site can’t be reached
localhost refused to connect.
Search Google for localhost vtiger crm
ERR_CONNECTION_REFUSED

I disabled firewalls on both addresses and I still can access the /dashboard.
This time I didn't touch httpd.conf just use the default port on a dedicated connection with no machine connected
Any advice?
adorah
 
Posts: 3
Joined: 02. October 2018 19:00
XAMPP version: 7.0.31
Operating System: Windows 7 32 bit

Re: How do I enable remote access to a directory

Postby Altrea » 07. October 2018 22:23

adorah wrote:When I connect from an external address the address changes to
http://localhost/vtigercrm/

That is a vtiger issue, not a xampp issue.
Somewhere in your application is defined what the base url is and this is set to localhost.
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: 9336
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: How do I enable remote access to a directory

Postby adorah » 08. October 2018 19:21

Bingo. I changed indeed the URL in vtigercrm and it worked. Thx. Problem solved
adorah
 
Posts: 3
Joined: 02. October 2018 19:00
XAMPP version: 7.0.31
Operating System: Windows 7 32 bit


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 59 guests