Hi my friends,
I'm trying to run an app on my FreeBSD 10.1 and I'm still having problem with the connection.
Description of Problem:
I can not set my public ip to my external ip
---------------------------
What I discovered?
When I'm connected in my local network, I can run application.
When I'm using a external connection, the client of apllication tries to connected on IP of LAN connection (192.168.1.35) (
What I've tried?
- I tried to use bind_ip in config files of my application, but I receive this error (socket_tcp_bind: tcp_socket: Can't assign the requested address
- Also I tried, to add a line in /etc/hosts (192.168.1.35 app appagassi.ddns.net #App ip
- Anyway, I've tried to make other configs, but I'm still having problems..
? Attached: Config file example
I'm trying to run an app on my FreeBSD 10.1 and I'm still having problem with the connection.
Description of Problem:
I can not set my public ip to my external ip
---------------------------
What I discovered?
When I'm connected in my local network, I can run application.
When I'm using a external connection, the client of apllication tries to connected on IP of LAN connection (192.168.1.35) (
netstat
).What I've tried?
- I tried to use bind_ip in config files of my application, but I receive this error (socket_tcp_bind: tcp_socket: Can't assign the requested address
- Also I tried, to add a line in /etc/hosts (192.168.1.35 app appagassi.ddns.net #App ip
- Anyway, I've tried to make other configs, but I'm still having problems..
? Attached: Config file example