3
For example, I have a database on a PC and I want an application located on another PC to access this database.
Is it possible to do this via Ad-Hoc network? If so, how?
3
For example, I have a database on a PC and I want an application located on another PC to access this database.
Is it possible to do this via Ad-Hoc network? If so, how?
5
If the application works via network, no matter what the structure of the application.
If you have IP on both hosts the application should work (taking into account that the firewall is not blocking communication).
3
Yes, as long as you don’t need the Internet or one of the hosts acts like gateway...
Do not expect high speed or full duplex communication, ad-hoc wireless communication (in reality wirelles in general) is similar to token ring..
Yes... I’m aware it’s quite slow.
2
Regardless of the topology of your network, the [direct] access from one PC to the other will depend on your ability to address it, whether via IP address, DNS or whatever (e.g.: on your ad hoc network computers have names? It is possible that by using this name you simply get the connection - the same way you already do through the file system).
If all computers are "at the same level", then it should be possible to access via IP. Use the ipconfig
(windows) or ifconfig
(linux) on the computer where the database is, and look for its IP address (if there is more than one, what interests you should be the local network, and should be in the format 192.168.X.Y
- where X
usually it is 0
and Y
is greater than 1
). Try putting your DBMS listening to this address, and on the other computer try to access it by this address [plus the correct port if necessary].
Now, if a computer is on a subnet and what it wants to access is outside it, then it is necessary to set up its own routing or maybe a proxy. In that case, I don’t know enough to give an opinion.
Friend, thank you for answering. I will test at home and put the result here :-)
Browser other questions tagged database
You are not signed in. Login or sign up in order to post.
Forgive my ignorance, but what would be an "ad-hoc network"?
– mgibsonbr
IS this here? You don’t have a router on your network?
– utluiz
Yes utluiz, that’s right.
– Pedro Vinícius