hi i have unzipped opendj in data directory , now i am trying to install opendj but none of the ports are allowing me to bind even in the range above 15000 i am using the OPENSHIFT_JBOSSEWS_IP=127.3.231.1 insternal ip still facing issue
example
What would you like to use as the initial root user DN for the Directory
Server? [cn=Directory Manager]:
Please provide the password to use for the initial root user:
Please re-enter the password for confirmation:
Provide the fully-qualified directory server host name that will be used when
generating self-signed certificates for LDAP SSL/StartTLS, the administration
connector, and replication
[ex-std-node351.prod.rhcloud.com]: openam-avsrecon.rh
cloud.com
i used the internal ip also here
On which port would you like the Directory Server to accept connections from
LDAP clients? [389]: 15389
ERROR: Unable to bind to port 15389. This port may already be in use,
or you may not have permission to bind to it
On which port would you like the Directory Server to accept connections from
LDAP clients? [389]: 0000
Invalid port number "0000". Please enter a valid port number between 1
and 65535
On which port would you like the Directory Server to accept connections from
LDAP clients? [389]:
I don't see where you are actually binding to the correct ip address, if you are referring to this line
Provide the fully-qualified directory server host name that will be used when generating self-signed certificates for LDAP SSL/StartTLS, the administration connector, and replication
This is only for the self signed ssl certificate generation. It looks like you are not binding to the correct ip address, and most likely your application is binding to 127.0.0.1 or 0.0.0.0 (all interfaces). You may need to further consult the documentation about where to specify the ip to bind to.
Related
I have a regular MySQL server running with XAMPP at port 3306 and accessible by my internet ip aswell my local ip (127.0.0.1), the ports are forwarded in my router. An account set up to be accessed from any IP, Everything works fine.
I'm trying to make this same server be accessible by AirVPN DNS address. So I've followed AirVPN instructions to remove the forwarded ports in my router and forward a new port at their VPN with a random number (lets go with 1111) with local port as 3306 and DNS named as xxx.airdns.org
So I open MySQL with XAMPP under port 3306, nothing changed in config file. I run the AirVPN port checker over 1111 and it signals as open. I also try at other sites that checks ports and signals open at xxx.airdns.org:1111
Though when I try to make a connection as usual it returns error (10060): Can't connect to MySQL server on 'xxx.airdns.org' (10060)
Resolutions I've tried:
Switch port values in MySQL config files matching with the ports open in AirVPN
bound address to VPN adapter bind-address="10.6.114.48"
repeated the options above in all different kind of port combinations and addresses
Disabled Firewall on Ethernet adapter of VPN as described here
I couldn't achieve success in this task. I'm looking for some enlightment so I can understand the process.
EDIT:
The connection is set only to TCP protocol. A port check done through airVPN and is registered at XAMPP & FIREWALL logs as accepted connections. Though trying to connect from a client I got no log from Xampp or Firewall, it gets timed out.
Sorry for "answer" type not just comment, but i dont have enough reputation here :)
Maybe the protocol ( TCP/UDP ) is your issue.
If you use UDP on your airVPN better check forwarding on your router - most of them
by default sets TCP only. Otherwise maybe change to TCP on your airVPN.
ISP provider often filter this protocol.
Issue: Consider that you can't connect to a service running "behind" some VPN server from a machine that's connected to that very same VPN service.
Solution: Connect from another machine to test your service properly.
Can I connect Zabbix server if I don't have client's IP , to be more specific I don't have any information about client except for information that I'm going to put in Zabbix agent config file like some name.
For example: I have several hosts in several different local networks and I want to get some information from them, but I don't know the IP address of host or router and I can't setup port forwarding on router, I just want to setup agent to be able to connect server over the internet that's all. Is that even possible?
Yes, use the active agent items only. Set the Zabbix server IP address in the ServerActive parameter and make sure the agent hostname matches the host name in the server (not the IP, not the DNS name).
We are using a debian in GOogle Compute engine and was allowed port tcp:3306 to connect to mysql but we are unable to conect, any workaround ?
Steps:
Created a Health Checks for my service with the name MySQL;
Pools created a Target for my service named mysql pointing to my region and vm instance;
Rules created a Forwarding Service pointing to my external IP of my VM instance and port you wish to release.
Regards
I changed the configuration file located at /etc/mysql/my.cnf. In there, I changed the bind-address to 0.0.0.0. After following this link, I was able to connect. The Health Checks, Pools and Forwarding rules aren't relevant in this case.
I am looking to deploy an nginx/dns server on a vps proxy that maps to the real back-end in a different geographical location. The back-end runs apache,mysql,dovecot,postfix. It is a pay-for mail server. The users get entered through apache through php into mysql, and when users set up IMAP, dovecot/postfix pools them from mysql and delivers or uses the smtp outbound.
I read about something in the nginx.conf file, that I can declare the mail hostname on the proxy as so:
mail {
server_name mail.example.com;
...
}
This mail.example.com is the actual mx for the example.com mail exchanger listed in DNS? Here is where that came from:
"As you can see, we declared the name of this server at the top of the mail context.
This is because we want each of our mail services to be addressed as mail.example.
com. Even if the actual hostname of the machine on which NGINX runs is different,
and each mail server has its own hostname, we want this proxy to be a single point
of reference for our users. This hostname will in turn be used wherever NGINX
needs to present its own name, for example, in the initial SMTP server greeting."
So from my understanding, the physical hostname of the proxy should be something else besides mail.example.com. So in DNS on the proxy, I can define that as anyhost.example.com? The proxy also proxies back to my apache on the back-end.
Finally, on the back-end, how do I set up my DNS for that? What hostname do I choose for the actual box running apache,mysql,dovecot,postfix? Its all on one box. I understand that on the registrar, I point 2 nameservers, these should be two proxies, that way running a dig would only pull up the proxies and the MX which should be "known" to be on the proxy.
in your case where all of the services in one box including the proxy, you can set the apache, mysql and other services accessible only from localhost / 127.0.0.1. Then from nginx you put
upstream: 127.0.0.1:80
upstream: 127.0.0.1:3306
therefore the nginx is serving frontend request and forward them to designated services
I have a remote Mysql database that I am connecting to through Node.js on Heroku. My MySql host (bluehost) wants me to input IP Adresses of all remote MySql connections.
Heroku doesn't have a dedicated IP for my app, so how can I connect to it? Bluehost mentions something about a Class C IP on its page, but I'm not sure Heroku has one...
Also, I believe I already have all of the heroku environment variables set up correctly:
(heroku config:add EXTERNAL_DATABASE_URL=...)
Thanks :D
Here's what blue host says about dynamic ip addresses:
Dynamic IP Addresses
Having a dynamic IP address means that the connecting IP address can
change periodically depending on the Internet Service Provider (ISP).
You must update the connecting IP in Remote MySQL every time it
changes.
from https://my.bluehost.com/cgi/help/89.
So at least each time you redeploy your application, you have a chance to get a different ip address. So this seems highly impractical. Why don't you use Heroku's MySQL offering?
You can use one of 'static ip' addons and proxy connection via that static ip - see this discussion