I setup Bitnami's LAMP Stack in a VMware Workstation on windows 7 and then installed CouchDB as per the installation guide. Everything seems to work locally in the VM through SSH.
After hours of looking for answers, I still can't access http://ipaddress:5984/_utils from the host computer. I checked the iptables and all the ports are all opened. I also changed the bind_address to 0.0.0.0 as explained in this serverfault question and still doesn't work. I'm setup the VM to use bridge networking with it's own IP. I also want to note that I can see the VM's apache page from my host when I access http://ipaddress, which tells me the problem might be in ports.
Does anyone know why this could be happening. The browser times out.
P.S I tried installing couchdb in AWS Free Tier but haven't succeeded. There's problems with many dependencies and the RPM package doesn't work.
Related
I have just finished setting up Node-red on the a cloud machine hosted with vultr ( Ubuntu 20.04 x64 ) and I am wanting to be able to hit the Node-Red web page but I am failing to do so.
I have setup WireGuard so I can VPN into the machine
I am able to ping the servers Local IP address from my Windows PC
But I am still unable to hit the Node-Red Web Page
Even though Node-Red is running
I am fairly new to working with cloud machines so any help would be highly appreciated.
I'm going to guess that you haven't opened port 1880 for the server.
This could be in one of 2 places
Vultr appear to have their own firewall which you will need to ensure a suitable rule to allow TCP traffice on port 1880 exists. How to configure the firewall appears to be documented here https://www.vultr.com/docs/vultr-firewall-quickstart-guide/
You will need to make sure that the port is open in the Ubuntu Firewall as well. Running sudo ufw allow 1880/tcp should do this.
openstack runs on ip address of the machine but chef server also demands to run on the same ip address on the web console. So what changes to be made to resolve this conflict on the linux os. What configuration files are required to be edited for openstack and chef server
Both OpenStack and Chef Server are generally distributed and installed as appliances. Both expect to control the whole machine. As such, while this is possible, it is very not recommended. That said, if you have OpenStack at your disposal just install Chef Server in a VM and problem solved.
I have a node.js website running on my Ubuntu VM. I can access it both from the host and the VM. But if I try http://192.168.10.120:80, from an external device connected to the same network over WiFi, it doesn't work.
What I need to do to make the web site accessible to external devices on the same local network?
I've been googling this for days, and still can't find an answer...
If the host is Windows, there's two things you'll have to do. One is setting up port forwarding in your VM settings. If you're using Virtual Box check this out. Also, depending on your internal networking setup, you may need to allow inbound connections to port 80 through Windows Firewall. Check out this article from Microsoft. The process hasn't really changed since Windows 7 so it should be the same on 8 or 10.
As a side note, security through obscurity sucks but I still wouldn't recommend using port 80.
Context: i've set up a vm server for GIS testing and dokuwiki on the domain root. I'd like to serve the gis web apps on a subdomain so that dokuwiki url renaming will never conflict (and it just feels cleaner). I thought i had it solved with avahi-aliases, but then discovered...
Problem: I can't reach the subdomain from any windows pcs on the LAN. Linux VMs connect just fine. Am i trying the impossible or just doing it wrong? (i'm a DNS noob) Why would Linux find the subdomain but Windows not, even on the same LAN??
Setup:
i can't change anything on the corporate routers/servers.
VMs are on different PCs on the same corporate LAN.
VM1 (virtualbox, hosted on windows PC1): Mint 13
VM2 (virtualbox headless server, hosted on windows PC2): ubuntu server 12.04, LAMP, samba, avahi, avahi-aliases.
primary domain: vm2.local
subdomain: gis.vm2.local (configured in apache and avahi-alias)
What works:
I can reach vm2.local AND gis.vm2.local from vm1 (via ping and browser).
I can reach vm2.local from any windows pc on LAN (via ping browser).
What doesn't work: I cannot reach gis.vm2.local from any windows pcs on the LAN.
Any ideas or advice is appreciated!
Sounds like either a firewall issue or Apache/IIS (whatever is hosting your web app) isn't listening to all traffic (If you are actually sharing networks). Try a traceroute/tracert from the machines to the destination and see what paths they take. It's a little hard to troubleshoot without actually seeing how your network looks.
You can also test if your hostname resolves by trying a ping on the PC's having issues.
If it says "Ping request could not find host . Please check the name and try again" - It's a DNS issue and you can address it quickly by providing the IP of the machine with its hostname in %WINDIR%\system32\drivers\etc\hosts
Excuse me,
I have a laptop installed Ubuntu desktop. If I want to use the name server (DNS) in this position, is that possible? Or should I reinstall Ubuntu server?
Yes, you can easily install unbound or bind9 package and serve DNS queries in your LAN.
However, it's a bit more involved to setup the networking so that all the DNS queries made from your applications are directed to the caching DNS server running in the same installation. I had to get rid of NetworkManager and install wicd instead for this purpose. NetworkManager uses dnsmasq package (which doesn't cache queries) and all DNS queries are directed to 127.0.1.1, where dnsmasq listens for queries. wicd makes easy to set a static DNS pointing to 127.0.0.1, which is the address in which unbound listens by default.
Note: of course it isn't impossible to keep the default NetworkManager and setup properly to direct queries to the caching name server running in the same machine. I just think it's easier with wicd.
Yes,you can!But Ubuntu desktop usually have installed many applications,it may not work very well.If it is convenient ,you'd better use Ubuntu server.
The only difference between server and desktop is - which packages are installed by default during distro installation. To use your computer as a DNS server your will have to install package for the DNS server, like apt-get install bind9. For server,maybe it's preinstalled (I don't know). That's all.
As in andy answer, maybe other applications running on Desktop will use too many resources or make your system unstable, and thus you better don't use them. In this case too, if you remove all the GUI-related packages you practically turn "desktop" into "server".
Disclaimer: I'm not an expert, I may be wrong.