Hi to all, im a newbie in this of linux. I want to have a linux virtualbox with DB servers like Oracle, MySQL, PostgreSQL and so on, so i installed Fedora in virtual machine of virtualbox. In the network configuration i set the Bridge Connection to enable Fedora to get IP from DHCP and it works fine. After that i've installed Oracle 10G Express and it works fine, i can connect without problems to oracle admin web application from Fedora. Previously i checked if port 1521 is open on fedora so when Oracle is running i use nmap and i get this:
Code:
nmap locahost
Starting Nmap 5.21 ....
Nmap scan report for localhost (127.0.0.1)
Host is up (0.00015s latency)
rDNS record for 127.0.0.1: localhost.localdomain
Not shown: 996 closed ports
PORT STATE SERVICE
25/tcp open smpt
631/tcp open ipp
1521/tcp open oracle
8080/tcp open http-proxy
So, i think that port is open. The ip of virtual machine is 192.168.1.4 and host is 192.168.1.2 . After that, i ping both host between them and both are reachable, but when i try to connect to oracle from host using SQLDeveloper i can't, it gives me :
Code:
Error: Excepción de E/S: The Network Adapter could not establish the connection
The SID of database is XE, user and pass are dummy (SYS/server) and as the server address i use the IP (192.168.1.4) and port 1521 . So, after that i googled about it and people says that i have to check things like firewalls (not host nor virtual machine has one) and another is to do
so i tried that and i get this:
Code:
aniceto@mypc:~/apps/sqldeveloper$ telnet 192.168.1.4 1521
Trying 192.168.1.4...
telnet: Unable to connect to remote host: No route to host
also i use netstat -nr to see if exists a router from my ISP and i get that:
Code:
aniceto@mypc:~/apps/sqldeveloper$ netstat -nr
Tabla de rutas IP del núcleo
Destino Pasarela Genmask Indic MSS Ventana irtt Interfaz
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
As you see only shows my IP and 0.0.0.0, also used traceroute and i get this:
Code:
aniceto@mypc:~/apps/sqldeveloper$ traceroute 192.168.1.4
traceroute to 192.168.1.4 (192.168.1.4), 30 hops max, 60 byte packets
1 192.168.1.4 (192.168.1.4) 9.609 ms !X 10.287 ms !X 10.284 ms !X
So i don't know another way to solve that. Thanks in advance.