I've installed the Laravel Octane RoadRunner Application Server.
It works flawlessly on my local Linux server, and I can access the application via 127.0.0.1:8000, but when I deploy it on an Azure VM, I am unable to access it via my IP address.
How do I set this up so that I can access the application using my IP address? (Port 8000 is open)
Related
I have the following setup in my DEV environment which is running on Windows 10 (which should be irrelevant).
Homestead with Virtual box to develop my Laravel applications
on my local OS I have a IBM Domino server running as dev1.mydomain.local
I'm trying to access the REST API on the Domino server from my Laravel installations. At the moment I'm getting 404 errors when trying because the domino server is not available from within the VirtualBox of Homestead.
Here is the network configuration of the homestead virtual box
Both webservers Domino and nginx on the virtual box are running on standard ports
Here is the ifconfig output of the virtual box
How can I make that possible?
UPDATE:
It just came to me that I am able to access the Domino server with LDAP, so perhaps changing the http and https port of the Domino server is already the answer...
I will test that and then get back here...
Changing the Port of the Domino server to 8080 enable me to access the server's REST API
dev1.mydomain.local:8080/api/data/
The connection to the local machine seems to be enable through the VirtualBox's second network adapter and the my call to the REST API got confused with the 2 web servers listening to the same port on localhost(127.0.0.1)
Update
although I was kind of able to connect to the server using the address above, still left me with the problem that authentication wasn't possible. In order to do so (and I have not the slightest idea why), I had to change to the local IP address of my PC to access the REST services
http://192.168.0.155:8080/api/data
If someone could explain that I would be happy :-)
I'm running an app on Laravel Homestead. My OS is Windows 7. The hosts file:
192.168.10.10 myapp.dev
My PC uses the LAN Internet connection.
Now, I would like to be able to access myapp.dev on a mobile device.
I have tried this (1), as well as that (2). None of these worked for me. If I use the php artisan serve approach (link 1), my IPv4 gets rewritten to myapp.dev, and the site cannot be found.
How do I access my Homestead-based app on a phone?
Homestead 5.x
As of Homestead 5.x, ngrok software is included in your homestead environment. You can use the share myapp.dev command to fire off ngrok to listen for myapp.dev. Please refer to the Laravel Homestead documentation (Sharing Your Environment)
Homestead versions without ngrok included
You can change your nginx configuration file to listen on all requests and use your local IP http://yourip:8000 instead of myapp.dev, but the easiest way to archive this is by creating a secure tunnel to your machine with software like ngrok.com
With your local domain myapp.dev you can basically run the following command after you served your webserver:
ngrok http 192.168.10.10:80 -host-header=myapp.dev
ngrok will generate a secure url which is available on your local network, but also publicly so you can share it with your friends/colleagues.
source
i have this configuration:
aws EC2 windows server with node.js and pm2 installed on it.
Route 53 domain.
elastic IP for the server.
running app on the server on port 80 using pm2.
my app using express web app framework.
my questions is how to connect the domain name (on route 53) with the pm2 app on the server.
thanks.
Create one record set pointing to EIP of your server in route53 and use.
If you have multiple servers:
Create one ELB
Attach instances to it.
Add CNAME entry from ELB to route53 record set.
I have just installed Jenkins (as a Windows Service) on AWS Windows (Win Server 2012R2) instance.
I'm able to launch it via browser using http://localhost:8080
What url should I use to access this server from other client? I have tried http://:8080 or without the port number but my client (over the net) is failing to connect. The Public DNS of the AWS is also not working.
I set up another Jekins on AWS Ubuntu server with apache tomcat and it's connecting just fine using the Public DNS of the AWS Ubuntu server.
i am trying to set up a site with xampp. i have succesfully connected to the instance via remote desktop and installed xampp and python (needed for my php script). now i am trying to find a way to connect to the instance's localhost via a browser in my local computer with the provided private and elastic IPs but no succefull attempt yet. i would like to configure that with a static IP or domain name (i suppose the elastic or private IP?) because my site will be used for http requests.
did you allow port 80/443 in your security group?
did you start the xampp server?
when logged in via remote desktop, are you able the open 'http://localhost' in a remote browser?
your elastic IP is the address reachable from public
private IP is the address reachable from within the availability zone