|
| |||||||||
| Tags: networking, port |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
| Issue in opening port
Hello everyone, I am trying to configure an application that runs on Linux and includes a database sql. So far, so good. As I did not install a graphical desktop environment for Mandrake, it is not practical to view the content of that database. Fortunately, there are free utilities for this type of EMS SQL Manager for postgresql. And then I thought again its very good. A constraint, however: I have to run the EMS SQL on windows because I want to avoid me to go all the time on my Linux server when I do the basic maintenance on the application. Always "very well" since EMS manages the connection to a remote database: host name, a login, password and port number and shoo all is fine. EMS does not connect to my server. I wonder if the server does have the correct address, and especially wonder if it accepts TCP / IP and especially the 5432 (postgresql) is opened? After lot of research I got the following command. Code: iptables-A INPUT-i eth0-s XX.XX.XX.XX/XX.XX.XX.0-m state - state NEW-p tcp - dport 5432-j ACCEPT |
|
#2
| ||||
| ||||
| Re: Issue in opening port
Hi You can already start looking if your port is listening on your machine. Code: netstat-an | grep 5432 Code: tcp 0 0 0.0.0.0:5432 0.0.0.0: * LISTEN |
|
#3
| ||||
| ||||
| Re: Issue in opening port
Hello Ok, my postgres server was not started on the mandrake I sought to achieve. For the implementation of this application. I thought it might possibly be coming from the environment and so I also installed mandrake a slightly different and Debian. On Debian and Mandrake (2), postgres is started but still I did not recover after row. Code: netstat-an | grep 5432 |
|
#4
| |||
| |||
| Re: Issue in opening port
Hello, I completely abandoned my test different with Distribution, me to concentrate on the operation of postgresql on Mandriva. I managed to start my postgresql server and run the application I wanted. At this point your first tips came in handy. But now I come to what I am trying to do: access my postgresql database from windows since EMS Manager for PostgreSQL is a utility for Vision bases postgres. And then it gets harder still, despite what I find on the net. I reconfigured my opening ports Code: iptables-A INPUT-i eth0-s XX.XX.XX.XX/XX.XX.XX.0-m state - state NEW-p tcp - dport 5432-j ACCEPT Code: tcp 0 0 127.0.0.1:5432 0.0.0.0: * LISTEN Code: netstat-an | grep 5432 Last edited by Ash maker : 26-12-2009 at 01:55 PM. |
|
#5
| ||||
| ||||
| Re: Issue in opening port
Hello So if you have the listening port when you do your netstat is that the application is started and it listens for connections on this port. Now two things: 1. Your firewall rules do not allow connections. You can always try deactivated in ip tables, see if that's it. 2. Rule Your firewall is OK, the connection also, but the soft refuses to connect to the database. In this case we'll have to look in the PostgreSQL doc, I have nothing in mind. Normally the error message in your soft client (windows) should allow you to know what case you're located. Good luck with it.
__________________ 90% of everything is crap...except for crap, because crap is 100% crap |
|
#6
| |||
| |||
| Re: Issue in opening port
Hi Like the ant, groping, I move through my quest. Always bcp through contacts that I had here. Getup had managed to put me in the path of wisdom will test if my postgres server was started. Now the postgresql server running, I can access the bases things to pgadmin running on my apache. But not always by EMS under windows. Indeed the error message from EMS is quite clear and well-orient myself on a connection error on my Linux server. Regarding the pass and user, I think it's good since I connect to another medium. |
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "Issue in opening port" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Opera is connecting to port 2869 while opening WMP | Takhbir | Technology & Internet | 5 | 23-06-2011 08:30 AM |
| Port Forwarding and opening ports in firewall | Aliki | Networking & Security | 5 | 23-12-2010 07:14 PM |
| Problem opening port in uTorrent | Jagruti23 | Technology & Internet | 7 | 02-07-2010 08:17 AM |
| Opening port for Linux Samba for windows users | afidelino | Networking & Security | 5 | 10-03-2010 09:19 PM |
| Problem opening UDP port = 27888 | Quakker | Networking & Security | 3 | 11-04-2009 01:07 PM |