How to open port 9091 on a linux running under vmware? - linux

i have on my machine windows 7.
I installed vmware player and created a virtual machine running centos.
I installed Transmission on the centos.
Now i want to access it via web, like http://111.111.111.111:9091
9091 is the port of Transmission.
This port is showing closed.
So, how can i open that port so Transmission can conect?
where do i need to open it? On windows? On linux? On router?
How i do that?
Thank you.

Your router may be configured to route packets from the public network to the local machine in the private network. It needs 9091 port to be opened and routed to the private IP.
Moreover, you need to ensure that your router can ping your centos guest before.
If it can't ping, take care of the network settings of VmWare host, AKA (bridge|nat|private|...) network mode.

Related

How to make my lamp server accessible by others?

I have downloaded the lamp stack server. I am using centos 7. When I put localhost:81/filename it is openeing but it is not working when viewed from other system.
My lamp uses port 81 so I changed Listen 81 in the httpd.conf and in the virtualhost as <virtualhost*:81>. But it is not working. Can anyone help me out this?
Are the two systems already connected to each using a network device like a switch or router?
To share your server with another system , you must first connect both systems to the same network. After which you need to get the IP address assigned to the system hosting the server. On linux, you can type ifconfig command to get this address from the server system. Then enter address in other system like:
http://192.168.1.128/filename
to view the resource.
If you have a wireless wifi box or router, you can use it to connect both systems. Just switch on the box without connecting to the internet.
Connect both systems to the router. Then follow the steps cited above to connect both systems.

Share a internet socket in specific port between multiple virtual machines

I have the next scenario: a physical server with X cores (CentOS). In it, I am running 3 virtual machines using virtualBox (vm1, vm2 and vm3, each one with CentOS too).
Now in the physical machine, I have an internet socket binded in an specific port (says 1111). Is it possible for each vm to have access to that socket and read data from it? Maybe using a kind of port forwarding or changing the network configuration?
The idea is that each vm could access to the socket created for the physical machine for a kind of load distribution.
Is it possible?
Thanks!

How to share folders b/n VirtualBox and Win 7 using NAT adapter and Samba

When I had my Adapter set to Host Only I followed this tutorial and was able to view the folder # \samba\share\ only buy typing \\192.168.55.444 in my windows start up. So, this means I could share this folder without any problem between two machines. But, now that I have switched to NAT adapter, and my ifconfig eth0 shows this as the host address 10.0.2.15 I am unable to access my samba shared folder no matter how I try to access it.
You can have two network adapters configured and use them at the same time. Use the Host-only as well as the NAT adapter. In the Virtualbox settings page just add another network adapter.
In your VirtualBox GUI click on your VM.
- then click Settings (Ctrl+S)
- click Network
- click Advanced
- click Port Forwarding
Configure port forwarding on ports 139 and 445
This port forwarding setup will work only if you don't have samba on your HOST machine, otherwise those port are reserved so virtualbox can not take them over to forward to your guest machine.
Better solution to share files between Host and Guest machine is to install and configure VirtualBox Guest Additions.
What OS do you have installed on yor VM ¿? ... The only way (for me to know) for get in work the share over NAT it's with the VBox Guest Additions...
It is not very difficult to install the guest additions; assuming you have an *buntu OS Family, mint or even debian linux, you can try this tutorials...
DEBIAN
*BUNTU
Then you can test the connection again ...

Remote ssh with no router configuration

I will be sending a linux machine to a non technical customer overseas. After the customer has connected the machine to his LAN , which is also connected to the Internet, I want to be able to ssh into this machine without requiring the customer to do any router configuration (no port forwarding for instance).
The linux machine is connected to the internet through a router. It does not have a public ip address.
Is this possible using ssh configuration only?
If not then what is the simplest way to achieve this?
I used to work in a place where we had a setup that allowed for this, but unfortunately I can't remember the details - here is are the basics of the setup though.
The customers machine would connect using SSH to a machine with a known hostname using the -R option to ssh to setup a reverse port forward. We could then connect to the known machine and use the forwarded port to get to port 22 on the customers machine.
Sorry I can't remember more, but it worked absolutely perfect :)
If that linux system is directly connected with modem then it must have public ip address so you will able to access that linux system from anywhere . but make sure the remote system has static public ip address otherwise you need to do dynamic dns.

How to Visit the Node.js Server app on Ubuntu From other Computers

I have installed the Node.js on Ubuntu 12.4 and the server is running localy but how I can see the rendered page by server from other computers? Do I need to have an IP address? for this?
The command ifconfig will tell you what your IP address is. Depending on the server you're running you may need to add the port number as well. From another computer on the local network you would go to:
http://your_ip_address_here:port_number

Resources