We're a community of 1077K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,076,498 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

how to use ip address instead of ''localhost'' or ''127.0.0.1''

How to connect postgresql database using eclipse in java.
i can able to connect with using "localhost" or "127.0.0.1" but I am not able to connect with "IP address" or "host name(system name)" on the same machine(local system).
Please do this needful request.
Thanks in advance!!!

3
Contributors
1
Reply
1 Hour
Discussion Span
1 Year Ago
Last Updated
2
Views
ramkumar15.05
Newbie Poster
1 post since Mar 2012
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

This is as generally you dont want to make your database engine accessible from outside for security reasons. I.e. mySQL for example, doesnt allow access from the network by default, only from the local machine, which is fine if i.e. the web server etc... is running on that same machine.

You should be able to change which interfaces it listens on in the appropriate configuration files. Remember to also poke a hole in your firewall.

jbennet
Moderator
Team Colleague
18,528 posts since Apr 2005
Reputation Points: 1,826
Solved Threads: 609
Skill Endorsements: 29

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
View similar articles that have also been tagged:
 
© 2013 DaniWeb® LLC
Page rendered in 0.0618 seconds using 2.78MB