created systemd service for sample code of libmicrohttpd ,if I am running this manually its working fine (able to open sample webpage) if I run through systemd service, it’s running but webpage not loading(i.e refused to connect), gave permission 777 to the systemd service,
here is my systemd service:
[Unit]
Description=lib micro service
After=network.target
[Service]
Type=simple
ExecStart =/root/mylibmicrohttpd
ExecStop =/root/mylibmicrohttpd
Restart=on-failure
Restart=always
RestartSec=30
[Install]
WantedBy=multi-user.target ```
Please suggest any sollution for this.