Server data accessing from non local network without port forwarding












-3














I'm using XAMPP server and I have my files in htdocs folder of XAMPP.



I had connected to my laptop using my mobile hotspot.



Can I access my files in XAMPP folder from another system which is not in same network i.e., can I access the files present in XAMPP folder from another another computer via internet
without router only by mobile hotspot?










share|improve this question
























  • possibly you could if your hotspot allows inbound connections and/or has a configurable firewall, and allows port forwarding. The hotspot is, after all, just another type of router.
    – ADyson
    Nov 20 at 10:57


















-3














I'm using XAMPP server and I have my files in htdocs folder of XAMPP.



I had connected to my laptop using my mobile hotspot.



Can I access my files in XAMPP folder from another system which is not in same network i.e., can I access the files present in XAMPP folder from another another computer via internet
without router only by mobile hotspot?










share|improve this question
























  • possibly you could if your hotspot allows inbound connections and/or has a configurable firewall, and allows port forwarding. The hotspot is, after all, just another type of router.
    – ADyson
    Nov 20 at 10:57
















-3












-3








-3


0





I'm using XAMPP server and I have my files in htdocs folder of XAMPP.



I had connected to my laptop using my mobile hotspot.



Can I access my files in XAMPP folder from another system which is not in same network i.e., can I access the files present in XAMPP folder from another another computer via internet
without router only by mobile hotspot?










share|improve this question















I'm using XAMPP server and I have my files in htdocs folder of XAMPP.



I had connected to my laptop using my mobile hotspot.



Can I access my files in XAMPP folder from another system which is not in same network i.e., can I access the files present in XAMPP folder from another another computer via internet
without router only by mobile hotspot?







php mysql sql-server xampp client-server






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 8 at 16:41

























asked Nov 20 at 10:50









Naga Maruthi

32




32












  • possibly you could if your hotspot allows inbound connections and/or has a configurable firewall, and allows port forwarding. The hotspot is, after all, just another type of router.
    – ADyson
    Nov 20 at 10:57




















  • possibly you could if your hotspot allows inbound connections and/or has a configurable firewall, and allows port forwarding. The hotspot is, after all, just another type of router.
    – ADyson
    Nov 20 at 10:57


















possibly you could if your hotspot allows inbound connections and/or has a configurable firewall, and allows port forwarding. The hotspot is, after all, just another type of router.
– ADyson
Nov 20 at 10:57






possibly you could if your hotspot allows inbound connections and/or has a configurable firewall, and allows port forwarding. The hotspot is, after all, just another type of router.
– ADyson
Nov 20 at 10:57














2 Answers
2






active

oldest

votes


















1














Yes, it's possible to access the web server from an external network, depending on your current network configuration.



There are two simple solutions I think would suit you.




  1. Configure your firewall if needed, enable port forwarding in your router settings to forward port 80 to the internal IP of the machine running your XAMPP-server.

  2. If you're on a network in which you can't configure, I recommend checking out ngrok.com, which is a service where you can setup a public URL for your XAMPP-server. Works from any type of network, where you have internet-access, of course.


Note, alternative 2 is good for exposing a development-server, nothing I'd recommend for running a site in production.






share|improve this answer





















  • Thank you for your information Sir
    – Naga Maruthi
    Dec 8 at 17:00



















0














Most network providers don't allow accessing the termials in the network.
If your provider does portforwarding and entering the public(!) IP of your hotspot should bei enough.






share|improve this answer





















  • Thank You for your information sir
    – Naga Maruthi
    Dec 8 at 16:59











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53391368%2fserver-data-accessing-from-non-local-network-without-port-forwarding%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes









1














Yes, it's possible to access the web server from an external network, depending on your current network configuration.



There are two simple solutions I think would suit you.




  1. Configure your firewall if needed, enable port forwarding in your router settings to forward port 80 to the internal IP of the machine running your XAMPP-server.

  2. If you're on a network in which you can't configure, I recommend checking out ngrok.com, which is a service where you can setup a public URL for your XAMPP-server. Works from any type of network, where you have internet-access, of course.


Note, alternative 2 is good for exposing a development-server, nothing I'd recommend for running a site in production.






share|improve this answer





















  • Thank you for your information Sir
    – Naga Maruthi
    Dec 8 at 17:00
















1














Yes, it's possible to access the web server from an external network, depending on your current network configuration.



There are two simple solutions I think would suit you.




  1. Configure your firewall if needed, enable port forwarding in your router settings to forward port 80 to the internal IP of the machine running your XAMPP-server.

  2. If you're on a network in which you can't configure, I recommend checking out ngrok.com, which is a service where you can setup a public URL for your XAMPP-server. Works from any type of network, where you have internet-access, of course.


Note, alternative 2 is good for exposing a development-server, nothing I'd recommend for running a site in production.






share|improve this answer





















  • Thank you for your information Sir
    – Naga Maruthi
    Dec 8 at 17:00














1












1








1






Yes, it's possible to access the web server from an external network, depending on your current network configuration.



There are two simple solutions I think would suit you.




  1. Configure your firewall if needed, enable port forwarding in your router settings to forward port 80 to the internal IP of the machine running your XAMPP-server.

  2. If you're on a network in which you can't configure, I recommend checking out ngrok.com, which is a service where you can setup a public URL for your XAMPP-server. Works from any type of network, where you have internet-access, of course.


Note, alternative 2 is good for exposing a development-server, nothing I'd recommend for running a site in production.






share|improve this answer












Yes, it's possible to access the web server from an external network, depending on your current network configuration.



There are two simple solutions I think would suit you.




  1. Configure your firewall if needed, enable port forwarding in your router settings to forward port 80 to the internal IP of the machine running your XAMPP-server.

  2. If you're on a network in which you can't configure, I recommend checking out ngrok.com, which is a service where you can setup a public URL for your XAMPP-server. Works from any type of network, where you have internet-access, of course.


Note, alternative 2 is good for exposing a development-server, nothing I'd recommend for running a site in production.







share|improve this answer












share|improve this answer



share|improve this answer










answered Nov 20 at 11:53









timbillstrom

1,0291224




1,0291224












  • Thank you for your information Sir
    – Naga Maruthi
    Dec 8 at 17:00


















  • Thank you for your information Sir
    – Naga Maruthi
    Dec 8 at 17:00
















Thank you for your information Sir
– Naga Maruthi
Dec 8 at 17:00




Thank you for your information Sir
– Naga Maruthi
Dec 8 at 17:00













0














Most network providers don't allow accessing the termials in the network.
If your provider does portforwarding and entering the public(!) IP of your hotspot should bei enough.






share|improve this answer





















  • Thank You for your information sir
    – Naga Maruthi
    Dec 8 at 16:59
















0














Most network providers don't allow accessing the termials in the network.
If your provider does portforwarding and entering the public(!) IP of your hotspot should bei enough.






share|improve this answer





















  • Thank You for your information sir
    – Naga Maruthi
    Dec 8 at 16:59














0












0








0






Most network providers don't allow accessing the termials in the network.
If your provider does portforwarding and entering the public(!) IP of your hotspot should bei enough.






share|improve this answer












Most network providers don't allow accessing the termials in the network.
If your provider does portforwarding and entering the public(!) IP of your hotspot should bei enough.







share|improve this answer












share|improve this answer



share|improve this answer










answered Dec 8 at 16:50









FlorianOlching

1044




1044












  • Thank You for your information sir
    – Naga Maruthi
    Dec 8 at 16:59


















  • Thank You for your information sir
    – Naga Maruthi
    Dec 8 at 16:59
















Thank You for your information sir
– Naga Maruthi
Dec 8 at 16:59




Thank You for your information sir
– Naga Maruthi
Dec 8 at 16:59


















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53391368%2fserver-data-accessing-from-non-local-network-without-port-forwarding%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Ottavio Pratesi

Tricia Helfer

15 giugno