LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-03-2015, 04:19 AM   #1
novicunix
LQ Newbie
 
Registered: Jan 2013
Posts: 18

Rep: Reputation: Disabled
Installed Jenkins on CENTOS VM. Unable to access it from windows


Hi,
I have installed jenkins on a VM with centos. VM is hosted on windows 7 desktop. I have used dynamic configuration for eth0 and eth1 and able to access internet.

How do I access jenkins from windows 7 machine.
When i used eth0 or eth1 ip x.x.x.x:8080 am getting connection timed out error. What is the ip of my virtual machine to access Jenkins
 
Old 05-03-2015, 09:38 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,704

Rep: Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897
How is the CentOS VM network adapter configured? As NAT or bridged adapter? With NAT mode you need to forward the port similar to a home based router using the host vboxmanage command line utility. If set to bridged mode your VM will acquire a DHCP address from your real network server. In either case make sure the CentOS firewall allows traffic on the desired port. I assume that Jenkins is installed, running and can be accessed on the CentOS VM itself.

To see your IP addresses look at the output of the command:
ip addr show

https://www.virtualbox.org/manual/ch06.html#nichardware
 
Old 05-03-2015, 11:04 AM   #3
novicunix
LQ Newbie
 
Registered: Jan 2013
Posts: 18

Original Poster
Rep: Reputation: Disabled
Yes. Thanks . I did the following and was able to access.
/etc/init.d/iptables stop
 
  


Reply

Tags
centos6, jenkins, virtual machine, windows 7



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to access CentOS web server externally rahilmaknojia Linux - Server 4 11-05-2011 05:00 PM
[SOLVED] Installed Windows 7 & lost access to earlier CentOS :( kapz_unlocked Linux - Newbie 2 07-19-2011 10:31 AM
installation of ubuntu alongwith windows xp & unable to access data from Windows arun.kr Linux - Newbie 8 03-04-2011 09:44 PM
Unable to access Samba share on CentOS 5.4 from windows XP or Vista kphannan Linux - Server 5 01-26-2010 09:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration