MAMP Server On Mobile Network - apache

I have a website that I've built using HTML, CSS, and Javascript which I'm currently trying to put online via a MAMP (using an Apache) server. I have no problems whatsoever when running it on wi-fi, but when I try running it via the mobile network on my iPhone 12, it crashes and won't load any content after I view a few pages.
Would my website crashing have anything to do with any of my code? Could it be that I haven't set up the Apache properly? I'd appreciate any advice that one may have.

Related

ASP.NET Core - Static Files Not Found By Kestrel Behind Apache Reverse Proxy on Particular Device

I have developed a simple ASP.Net Core Razor pages app that runs OK, deployed standalone, on an iMX6ULL development board running an Apache reverse proxy server. However, when I deploy the exact same app onto a different development board (same processor just made by a different company), the app appears to run OK but static content inside the 'wwwroot' folder is not found.
I have checked the web and content root paths when the app is running and they match where the publish folder is copied in both device file systems. As the source code for the app is unchanged, I am sure it must be something in the difference between the Apache and/or OS setup between the two devices but for the life of me, I cannot find/think what that is!! Does anyone have any ideas? I am pulling my hair out :(
If it helps, httpd.conf and httpd-vhosts.conf are the same on both devices, with Apache listening on 80 and forwarding to 5000 where the ASP.Net Core app tells me it's listening. Is it possible that there is a conflict on this port? I have tried 5050 but with the same result...

wget times out when try to load website on the web-server

I have a CentOS; LAMP web server and have finished 97% of development work. I can test my website anywhere on the LAN and can load correctly on different browsers from different machine.
However when I try wget on the web server, it is timing out for some reason. Please point me in the right direction for this as some functionality is not working the way it was designed because of this.
Thanks!

Can you have apache-tomcat and another server like wampp or xampp

I am new to Web Development but I have experience in Java, C/C++,Unix Scripting and basic SQL. I have apache-tomcat server because I downloaded Java EE but recently I wanted to start added PHP to my html and I have to download a server like wampp or xampp to run php files. But I downloaded xampp and when I tried to reach my localhost my browser froze up, I tried it multiple times but no luck reaching my local server. Then I decided to try it on wamp and the same thing happened. Can you have two different kinds of servers on your PC even if only one is turned on at a time?
No you can get PHP to run out of a TomCat Web Server.
See this somewhere in the middle of it he tells you how to download a PECL extension that will allow TomCat and the PHP interpreter to become friend.

jWebSocket on mobile browsers

I've developed a web application which uses jWebSocket.
I've put it together on an Apache Server and accessing the site with a desktop browser works fine.
But it's not working on mobile browsers, that is, I can see the static website but no dynamic changes are made (using WLAN; on a laptop using the same WLAN everything works). The required ports can be reached but no connection is being established with the jWebSocketServer.
I've tested it on iPhone with Safari 6 and on Android phone 2.3 with WebKit browser and Opera 12.
At least Safari and Opera natively support WebsSockets, so I wonder if there's a general difference between mobile and desktop browsers regarding this functionality?
(On the Internet, I found nothing about mobile web apps with jwebsocket, there are clients for native apps but this doesn't suit my need.)
Thanks in advance!

Rails Remote Development Server iPad/Laptop Demos

I have a Rails application running on a remote Linux desktop at work via localhost. I wanted to be able to do live demos when I'm away from my desktop for business meetings and such without going through the hassle of pushing to my production server. I was wondering if anybody knew of a way to perhaps remotely connect to my desktop and run my Rails application on another device as if it was running locally? The remote device in question could be something like an iPad or net-book.
My application is sitting on a Github repository if it counts for anything, with that in mind would it be easier to just get rails up and running on an iPad and download the repository?
I'm not sure if safari on the ipad would support it, but for the netbook scenario I think proxying through an ssh tunnel would probably work best (I'm assuming you don't want to deal with the lag involved with a graphical remote desktop connection).
You could also deploy to an alternate environment like heroku or temporarily provision a publicly accessible VM somewhere for demo purposes.